WC_Plugin_Api_Updater::themes_api
Theme information callback for Woo themes.
Method of the class: WC_Plugin_Api_Updater{}
No Hooks.
Returns
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() WC Plugin Api Updater::themes api code WC 10.3.3
public static function themes_api( $response, $action, $args ) {
if ( 'theme_information' !== $action ) {
return $response;
}
return self::override_products_api_response( $response, $action, $args );
}