wpseo_sitemap_public_url

wpseo_sitemap_public_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_sitemap_public_url') is found 1 times:

  • /inc/sitemaps/class-sitemaps-renderer.php line 342
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    * @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.
         */