[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/sitemaps/providers/ -> class-wp-sitemaps-users.php (summary)

Sitemaps: WP_Sitemaps_Users class Builds the sitemaps for the 'user' object type.

File Size: 163 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Sitemaps_Users:: (4 methods):
  __construct()
  get_url_list()
  get_max_num_pages()
  get_users_query_args()


Class: WP_Sitemaps_Users  - X-Ref

Users XML sitemap provider.

__construct()   X-Ref
WP_Sitemaps_Users constructor.

since: 5.5.0

get_url_list( $page_num, $object_subtype = '' )   X-Ref
Gets a URL list for a user sitemap.

param: int    $page_num       Page of results.
param: string $object_subtype Optional. Not applicable for Users but
since: 5.5.0
return: array Array of URLs for a sitemap.

get_max_num_pages( $object_subtype = '' )   X-Ref
Gets the max number of pages available for the object type.

param: string $object_subtype Optional. Not applicable for Users but
since: 5.5.0
return: int Total page count.

get_users_query_args()   X-Ref
Returns the query args for retrieving users to list in the sitemap.

since: 5.5.0
return: array Array of WP_User_Query arguments.



Generated: Wed Jun 23 01:00:04 2021 Cross-referenced by PHPXref 0.7.1