WPSEO_Schema_Person_Upgrade_Notification::register_hooks()publicYoast 1.0

Registers all hooks to WordPress

Метод класса: WPSEO_Schema_Person_Upgrade_Notification{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$WPSEO_Schema_Person_Upgrade_Notification = new WPSEO_Schema_Person_Upgrade_Notification();
$WPSEO_Schema_Person_Upgrade_Notification->register_hooks();

Код WPSEO_Schema_Person_Upgrade_Notification::register_hooks() Yoast 19.10

public function register_hooks() {
	add_action( 'admin_init', [ $this, 'handle_notification' ] );
}