Yoast\WP\SEO\Integrations\Admin
Cron_Integration::register_hooks() public Yoast 1.0
{} Это метод класса: Cron_Integration{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Cron_Integration = new Cron_Integration(); $Cron_Integration->register_hooks();
Код Cron_Integration::register_hooks() Cron Integration::register hooks Yoast 15.6.2
public function register_hooks() {
if ( ! \wp_next_scheduled( Indexing_Notification_Integration::NOTIFICATION_ID ) ) {
\wp_schedule_event(
$this->date_helper->current_time(),
'daily',
Indexing_Notification_Integration::NOTIFICATION_ID
);
}
}