wpseo_should_add_subdirectory_multisite_xml_sitemaps

wpseo_should_add_subdirectory_multisite_xml_sitemaps

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_should_add_subdirectory_multisite_xml_sitemaps') 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.
    		 *