WP_Sitemaps_Provider::get_url_list( int $page_num, string $object_subtype = '' ): array[]
- Since
- 5.5.0
- Source
wp-includes/sitemaps/class-wp-sitemaps-provider.php:48
Gets a URL list for a sitemap.
Parameters
$page_numint- Page of results.
$object_subtypestringoptional- Object subtype name. Default empty.Default:
''
Return
array[]- Array of URL information for a sitemap.
Source
abstract public function get_url_list( $page_num, $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.0.4 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.