WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
событие не описано

wpseo_register_capabilities хук-событие . Yoast 1.0

Re-register capabilities to add the new view_site_health_checks capability to the SEO Manager role.

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

add_action( 'wpseo_register_capabilities', 'action_function_name_7939' );
function action_function_name_7939(){
	// action...
}

Где вызывается хук

WPSEO_Upgrade::upgrade_132()
wpseo_register_capabilities
wpseo_get_capabilities()
wpseo_register_capabilities
WPSEO_Upgrade::upgrade_55()
wpseo_register_capabilities
WPSEO_Capability_Manager_Integration::get_capabilities()
wpseo_register_capabilities
_wpseo_activate()
wpseo_register_capabilities
_wpseo_deactivate()
wpseo_register_capabilities
yoast/inc/class-upgrade.php 695
do_action( 'wpseo_register_capabilities' );
yoast/inc/wpseo-functions.php 249
do_action( 'wpseo_register_capabilities' );
yoast/inc/class-upgrade.php 393
do_action( 'wpseo_register_capabilities' );
yoast/admin/capabilities/class-capability-manager-integration.php 54
do_action( 'wpseo_register_capabilities' );
yoast/wp-seo-main.php 200
do_action( 'wpseo_register_capabilities' );
yoast/wp-seo-main.php 227
do_action( 'wpseo_register_capabilities' );

Где используется хук в ядре Yoast SEO

yoast/admin/capabilities/class-register-capabilities.php 19
add_action( 'wpseo_register_capabilities', [ $this, 'register' ] );