wpseo_do_sitemap_(type) хук-событие . Yoast 1.0
Fires custom handler, if hooked to generate sitemap for the type.
Использование
add_action( 'wpseo_do_sitemap_(type)', 'action_function_name_9669' ); function action_function_name_9669(){ // action... }
Где вызывается хук
wpseo_do_sitemap_(type)
yoast/inc/sitemaps/class-sitemaps.php 370
do_action( 'wpseo_do_sitemap_' . $type );