WPDev.one
Core Class

WP_Sitemaps_Users

class WP_Sitemaps_Users // Constructor: function Object() { [native code] }

Users XML sitemap provider.

Methods 4 methods

Method / Return Description
__construct()
void

WP_Sitemaps_Users constructor.

get_url_list()
array[]

Gets a URL list for a user sitemap.

Parameters: $page_num: mixed, $object_subtype: mixed
get_max_num_pages()
int

Gets the max number of pages available for the object type.

Parameters: $object_subtype: mixed
get_users_query_args()
array

Returns the query args for retrieving users to list in the sitemap.

Class Information

Since Version
5.5.0
Source File
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php
Advertisement