wpseo_sitemap_public_url
wpseo_sitemap_public_url
Appears in: wordpress-seo.23.6, wordpress-seo.23.8, wordpress-seo.23.9, wordpress-seo.24.0, wordpress-seo.24.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.24.1apply_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. */