WP_Sitemaps_Provider::get_url_list() WordPress Method
The WP_Sitemaps_Provider::get_url_list() method is used to get a list of URLs for a sitemap.
WP_Sitemaps_Provider::get_url_list( int $page_num, string $object_subtype = '' ) #
Gets a URL list for a sitemap.
Contents
Parameters
- $page_num
(int)(Required)Page of results.
- $object_subtype
(string)(Optional) Object subtype name.
Default value: ''
Return
(array[]) Array of URL information for a sitemap.
Source
File: wp-includes/sitemaps/class-wp-sitemaps-provider.php
abstract public function get_url_list( $page_num, $object_subtype = '' );
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |