wpseo_xsl_(type)
Fires for the output of XSL for XML sitemaps, other than type "main".
Использование
add_action( 'wpseo_xsl_(type)', 'wp_kama_wpseo_xsl_type_action' );
/**
* Function for `wpseo_xsl_(type)` action-hook.
*
* @return void
*/
function wp_kama_wpseo_xsl_type_action(){
// action...
}Где вызывается хук
wpseo_xsl_(type)
yoast/inc/sitemaps/class-sitemaps.php 450
do_action( 'wpseo_xsl_' . $type );