WordPress как на ладони
Очень Удобный и Быстрый Хостинг для сайтов на WordPress. Пользуюсь сам и вам рекомендую!
событие не описано

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_5237' );
function action_function_name_5237(){
	// 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 701
do_action( 'wpseo_register_capabilities' );
yoast/inc/wpseo-functions.php 249
do_action( 'wpseo_register_capabilities' );
yoast/inc/class-upgrade.php 399
do_action( 'wpseo_register_capabilities' );
yoast/admin/capabilities/class-capability-manager-integration.php 54
do_action( 'wpseo_register_capabilities' );
yoast/wp-seo-main.php 232
do_action( 'wpseo_register_capabilities' );
yoast/wp-seo-main.php 260
do_action( 'wpseo_register_capabilities' );

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

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