Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsEngine::on_init
An init hook is used here so that StoredStateSetupForProducts can set up a hook that gets triggered by action-scheduler - this is needed because the admin_init hook doesn't get triggered by WP Cron.
Метод класса: RemoteInboxNotificationsEngine{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = RemoteInboxNotificationsEngine::on_init();
Код RemoteInboxNotificationsEngine::on_init() RemoteInboxNotificationsEngine::on init WC 10.5.2
public static function on_init() {
StoredStateSetupForProducts::init();
}