wp_sitemaps_max_urls

wp_sitemaps_max_urls

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_sitemaps_max_urls') is found 1 times:

  • /wp-includes/sitemaps.php line 90
    	 *
    	 * @param int    $max_urls    The maximum number of URLs included in a sitemap. Default 2000.
    	 * @param string $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').
    	 */
    	return apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type );
    }
    
    /**
     * Retrieves the full URL for a sitemap.
     *
     * @since 5.5.1