WPSEO_Submenu_Capability_Normalize::register_hooks()publicYoast 1.0

Registers all hooks to WordPress.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Submenu_Capability_Normalize::register_hooks() Yoast 19.11

public function register_hooks() {
	add_filter( 'wpseo_submenu_pages', [ $this, 'normalize_submenus_capability' ] );
}