wpseo_xml_sitemap_include_images

wpseo_xml_sitemap_include_images

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_xml_sitemap_include_images') is found 2 times:

  • /inc/sitemaps/class-post-type-sitemap-provider.php line 47
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
         * Filter - Allows excluding images from the XML sitemap.
         *
         * @param bool $include True to include, false to exclude.
         */
        $this->include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true );
    }
     
    /**
     * Get the Image Parser.
     *
     * @return WPSEO_Sitemap_Image_Parser
  • /inc/sitemaps/class-taxonomy-sitemap-provider.php line 36
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
         * Filter - Allows excluding images from the XML sitemap.
         *
         * @param bool $include True to include, false to exclude.
         */
        $this->include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true );
    }
     
    /**
     * Check if provider supports given item type.
     *
     * @param string $type Type string to check for.