WP_Sitemaps_Provider::get_max_num_pages( string $object_subtype = '' ): int
- Since
- 5.5.0
- Source
wp-includes/sitemaps/class-wp-sitemaps-provider.php:58
Gets the max number of pages available for the object type.
Parameters
$object_subtypestringoptional- Object subtype. Default empty.Default:
''
Return
int- Total number of pages.
Used by · 1
- WP_Sitemaps_Provider::get_sitemap_type_data()Gets data about each sitemap type.
Source
abstract public function get_max_num_pages( $object_subtype = '' );History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/sitemaps/class-wp-sitemaps-provider.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.