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.


Parameters

$page_num

(int)(Required)Page of results.

$object_subtype

(string)(Optional) Object subtype name.

Default value: ''


Top ↑

Return

(array[]) Array of URL information for a sitemap.


Top ↑

Source

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

	abstract public function get_url_list( $page_num, $object_subtype = '' );

Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.