WPDev.one
Core Function
View Source on Trac ↗

wp_sitemaps_get_max_urls()

wp_sitemaps_get_max_urls( mixed $object_type )

Gets the maximum number of URLs for a sitemap.

Parameters 1 required

Name / Type Description
$object_type
string

Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').

Required

Return Value

(int)
The maximum number of URLs.

Function Information

Since Version
5.5.0
Source File
wp-includes/sitemaps.php
Advertisement