jetpack_sitemap_content_type, text/xml

jetpack_sitemap_content_type, text/xml

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_sitemap_content_type, text/xml') is found 1 times:

  • /modules/sitemaps/sitemaps.php line 234
    			 * @since 3.9.0
    			 *
    			 * @param string $xml_content_type By default, it's 'text/xml'.
    			 */
    			$xml_content_type = apply_filters( 'jetpack_sitemap_content_type', 'text/xml' );
    
    			// Catch master sitemap xml.
    			if ( 'sitemap.xml' === $request['sitemap_name'] ) {
    				$sitemap_content = $this->librarian->get_sitemap_text(
    					jp_sitemap_filename( JP_MASTER_SITEMAP_TYPE, 0 ),
    					JP_MASTER_SITEMAP_TYPE