WordPress at a glance
function is not described

WP_Sitemaps_Provider::get_url_list() public WP 5.5.0

Gets a URL list for a sitemap.

It's a method of the class: WP_Sitemaps_Provider{}

No Hooks.

Return

Array. Array of URLs 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.

Code of WP_Sitemaps_Provider::get_url_list() WP 5.5.1

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