WPSEO_Admin_Menu::register_hooks()publicYoast 1.0

Registers all hooks to WordPress.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Admin_Menu::register_hooks() Yoast 19.11

public function register_hooks() {
	// Needs the lower than default priority so other plugins can hook underneath it without issue.
	add_action( 'admin_menu', [ $this, 'register_settings_page' ], 5 );
}