wpseo_should_add_subdirectory_multisite_xml_sitemaps, true

wpseo_should_add_subdirectory_multisite_xml_sitemaps, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_should_add_subdirectory_multisite_xml_sitemaps, true') is found 1 times:

  • /src/integrations/front-end/robots-txt-integration.php line 99
    		 * @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.
    		 *