wpseo_register_extra_replacements хук-событие . Yoast 1.0
Action: 'wpseo_register_extra_replacements' - Allows for registration of additional variables to replace.
Использование
add_action( 'wpseo_register_extra_replacements', 'action_function_name_1228' ); function action_function_name_1228(){ // action... }
Где вызывается хук
wpseo_register_extra_replacements
yoast/inc/class-wpseo-replace-vars.php 78
do_action( 'wpseo_register_extra_replacements' );