WP_Sitemaps_Provider::get_url_list()publicWP 5.5.0

Gets a URL list for a sitemap.

Method of the class: WP_Sitemaps_Provider{}

No Hooks.

Return

Array[]. Array of URL information for a sitemap.

Usage

$WP_Sitemaps_Provider = new WP_Sitemaps_Provider();
$WP_Sitemaps_Provider->get_url_list( $page_num, $object_subtype );
$page_num(int) (required)
Page of results.
$object_subtype(string)
Object subtype name.
Default: ''

Changelog

Since 5.5.0 Introduced.

WP_Sitemaps_Provider::get_url_list() code WP 6.6.2

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