wpseo_should_add_subdirectory_multisite_xml_sitemaps

wpseo_should_add_subdirectory_multisite_xml_sitemaps

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

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_should_add_subdirectory_multisite_xml_sitemaps') is found 1 times:

  • /src/integrations/front-end/robots-txt-integration.php line 99
    095
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
    * @since 19.8
     *
     * @param bool $show Whether to display multisites in the xml sitemaps.
     */
    if ( \apply_filters( 'wpseo_should_add_subdirectory_multisite_xml_sitemaps', true ) ) {
        $this->add_subdirectory_multisite_xml_sitemaps();
    }
     
    /**
     * Allow registering custom robots rules to be outputted within the Yoast content block in robots.txt.
     *