Filter hook 'wp_sitemaps_max_urls'

in WP Core File wp-includes/sitemaps.php at line 90

Description

Filters the maximum number of URLs displayed on a sitemap.

Occurrences

Filename Line Number
wp-includes/sitemaps.php 90

Parameters

Type Name Description
int $max_urls The maximum number of URLs included in a sitemap. Default 2000.
string $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').

PHP Doc

/**
	 * Filters the maximum number of URLs displayed on a sitemap.
	 *
	 * @since 5.5.0
	 *
	 * @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').
	 */