[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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.


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

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

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

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

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

return: array Array of WP_User_Query arguments.



Generated : Mon Oct 26 08:20:01 2020 Cross-referenced by PHPXref