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

Filter - Allows excluding images from the XML sitemap.

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

add_filter( 'wpseo_xml_sitemap_include_images', 'wp_kama_wpseo_xml_sitemap_include_images_filter' );
function wp_kama_wpseo_xml_sitemap_include_images_filter( $include ){
	// filter...

	return $include;
}
$include(true|false)
True to include, false to exclude.

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

WPSEO_Post_Type_Sitemap_Provider::__construct()
wpseo_xml_sitemap_include_images
WPSEO_Taxonomy_Sitemap_Provider::__construct()
wpseo_xml_sitemap_include_images
yoast/inc/sitemaps/class-post-type-sitemap-provider.php 47
$this->include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true );
yoast/inc/sitemaps/class-taxonomy-sitemap-provider.php 36
$this->include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true );

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

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