WP_Sitemaps_Provider::get_max_num_pages( string $object_subtype = '' )

Gets the max number of pages available for the object type.


Parameters

$object_subtype

(string) (Optional) Object subtype.

Default value: ''


Top ↑

Return

(int) Total number of pages.


Top ↑

Source

File: wp-includes/sitemaps/class-wp-sitemaps-provider.php

	abstract public function get_max_num_pages( $object_subtype = '' );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.