On this page
WP_Sitemaps_Provider::get_url_list( int $page_num, string $object_subtype = '' ): array[]
Gets a URL list for a sitemap.
Parameters
$page_numint Required-
Page of results.
$object_subtypestring Optional-
Object subtype name.
Default:
''
Return
array[] Array of URL information for a sitemap.
Source
File: wp-includes/sitemaps/class-wp-sitemaps-provider.php. View all references
abstract public function get_url_list( $page_num, $object_subtype = '' );
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_sitemaps_provider/get_url_list