WC_Plugin_Api_Updater::themes_api
Theme information callback for Woo themes.
Метод класса: WC_Plugin_Api_Updater{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Plugin_Api_Updater::themes_api( $response, $action, $args );
- $response(объект) (обязательный)
- The response core needs to display the modal.
- $action(строка) (обязательный)
- The requested themes_api() action.
- $args(объект) (обязательный)
- Arguments passed to themes_api().
Код WC_Plugin_Api_Updater::themes_api() WC Plugin Api Updater::themes api WC 10.4.2
public static function themes_api( $response, $action, $args ) {
if ( 'theme_information' !== $action ) {
return $response;
}
return self::override_products_api_response( $response, $action, $args );
}