- Timestamp:
- 11/18/2021 01:48:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-users.php
r48100 r52204 35 35 * required for compatibility with the parent 36 36 * provider class. Default empty. 37 * @return array Array of URLsfor a sitemap.37 * @return array[] Array of URL information for a sitemap. 38 38 */ 39 39 public function get_url_list( $page_num, $object_subtype = '' ) { … … 46 46 * @since 5.5.0 47 47 * 48 * @param array $url_list The URL list. Default null.49 * @param int $page_num Page of results.48 * @param array[]|null $url_list The URL list. Default null. 49 * @param int $page_num Page of results. 50 50 */ 51 51 $url_list = apply_filters( … … 100 100 public function get_max_num_pages( $object_subtype = '' ) { 101 101 /** 102 * Filters the max number of pages before it is generated.102 * Filters the max number of pages for a user sitemap before it is generated. 103 103 * 104 104 * Passing a non-null value will effectively short-circuit the generation, … … 107 107 * @since 5.5.0 108 108 * 109 * @param int $max_num_pages The maximum number of pages. Default null.109 * @param int|null $max_num_pages The maximum number of pages. Default null. 110 110 */ 111 111 $max_num_pages = apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null );
Note: See TracChangeset
for help on using the changeset viewer.