Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsEngine::on_init()public staticWC 1.0

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() WC 8.7.0

public static function on_init() {
	StoredStateSetupForProducts::init();
}