wpseo_sitemap_content_before_parse_html_images хук-фильтрYoast 1.0

Filter: wpseo_sitemap_content_before_parse_html_images Filters the post content before it is parsed for images.

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

add_filter( 'wpseo_sitemap_content_before_parse_html_images', 'wp_kama_wpseo_sitemap_content_before_parse_html_images_filter' );

/**
 * Function for `wpseo_sitemap_content_before_parse_html_images` filter-hook.
 * 
 * @param string $content The raw/unprocessed post content.
 *
 * @return string
 */
function wp_kama_wpseo_sitemap_content_before_parse_html_images_filter( $content ){

	// filter...
	return $content;
}
$content(строка)
The raw/unprocessed post content.

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

WPSEO_Sitemap_Image_Parser::get_images()
wpseo_sitemap_content_before_parse_html_images
yoast/inc/sitemaps/class-sitemap-image-parser.php 96
$content = apply_filters( 'wpseo_sitemap_content_before_parse_html_images', $post->post_content );

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

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