wpseo_sitemap_public_url

wpseo_sitemap_public_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_sitemap_public_url') is found 1 times:

  • /inc/sitemaps/class-sitemaps-renderer.php line 342
    	 * @return string The XSL URL that needs to be used.
    	 */
    	protected function get_xsl_url() {
    		if ( home_url() !== site_url() ) {
    			return apply_filters( 'wpseo_sitemap_public_url', home_url( 'main-sitemap.xsl' ) );
    		}
    
    		/*
    		 * Fallback to circumvent a cross-domain security problem when the XLS file is
    		 * loaded from a different (sub)domain.
    		 */