WPSEO_Capability_Manager_Integration::register_hooks()publicYoast 1.0

Registers the hooks.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код WPSEO_Capability_Manager_Integration::register_hooks() Yoast 24.0

public function register_hooks() {
	add_filter( 'members_get_capabilities', [ $this, 'get_capabilities' ] );
	add_action( 'members_register_cap_groups', [ $this, 'action_members_register_cap_group' ] );

	add_filter( 'ure_capabilities_groups_tree', [ $this, 'filter_ure_capabilities_groups_tree' ] );
	add_filter( 'ure_custom_capability_groups', [ $this, 'filter_ure_custom_capability_groups' ], 10, 2 );
}