[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
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 |
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. return: array[] Array of URL information for a sitemap. param: int $page_num Page of results. param: string $object_subtype Optional. Not applicable for Users but since: 5.5.0 |
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 since: 5.5.0 |
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. since: 5.5.0 |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |