wpseo_sitemap_content_before_parse_html_images, $post->post_content

wpseo_sitemap_content_before_parse_html_images, $post->post_content

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_sitemap_content_before_parse_html_images, $post->post_content') is found 1 times:

  • /inc/sitemaps/class-sitemap-image-parser.php line 96
    		 * before it is parsed for images.
    		 *
    		 * @param string $content The raw/unprocessed post content.
    		 */
    		$content = apply_filters( 'wpseo_sitemap_content_before_parse_html_images', $post->post_content );
    
    		$unfiltered_images = $this->parse_html_images( $content );
    
    		foreach ( $unfiltered_images as $image ) {
    			$images[] = $this->get_image_item( $post, $image['src'] );
    		}