WPSEO_Menu::register_hooks()publicYoast 1.0

Registers all hooks to WordPress.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Menu::register_hooks() Yoast 19.11

public function register_hooks() {
	$admin_menu = new WPSEO_Admin_Menu( $this );
	$admin_menu->register_hooks();

	if ( WPSEO_Utils::is_plugin_network_active() ) {
		$network_admin_menu = new WPSEO_Network_Admin_Menu( $this );
		$network_admin_menu->register_hooks();
	}

	$capability_normalizer = new WPSEO_Submenu_Capability_Normalize();
	$capability_normalizer->register_hooks();
}