WC_Plugin_Api_Updater::themes_api()public staticWC 1.0

Theme information callback for Woo themes.

Method of the class: WC_Plugin_Api_Updater{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Plugin_Api_Updater::themes_api( $response, $action, $args );
$response(object) (required)
The response core needs to display the modal.
$action(string) (required)
The requested themes_api() action.
$args(object) (required)
Arguments passed to themes_api().

WC_Plugin_Api_Updater::themes_api() code WC 9.7.1

public static function themes_api( $response, $action, $args ) {
	if ( 'theme_information' !== $action ) {
		return $response;
	}

	return self::override_products_api_response( $response, $action, $args );
}