- Timestamp:
- 06/19/2020 10:24:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
r48072 r48098 31 31 * @since 5.5.0 32 32 * 33 * @return array Mapof registered taxonomy objects keyed by their name.33 * @return WP_Taxonomy[] Array of registered taxonomy objects keyed by their name. 34 34 */ 35 35 public function get_object_subtypes() { … … 41 41 * @since 5.5.0 42 42 * 43 * @param array $taxonomies Mapof registered taxonomy objects keyed by their name.43 * @param WP_Taxonomy[] $taxonomies Array of registered taxonomy objects keyed by their name. 44 44 */ 45 45 return apply_filters( 'wp_sitemaps_taxonomies', $taxonomies ); … … 53 53 * @param int $page_num Page of results. 54 54 * @param string $taxonomy Optional. Taxonomy name. Default empty. 55 * @return array $url_listArray of URLs for a sitemap.55 * @return array Array of URLs for a sitemap. 56 56 */ 57 57 public function get_url_list( $page_num, $taxonomy = '' ) { … … 135 135 * Filters the max number of pages before it is generated. 136 136 * 137 * Passing a non-null value will effectivelyshort-circuit the generation,137 * Passing a non-null value will short-circuit the generation, 138 138 * returning that value instead. 139 139 * 140 140 * @since 5.5.0 141 141 * 142 * @param int $max_num_pages The maximum number of pages. Default null.143 * @param string $taxonomy Taxonomy name.142 * @param int $max_num_pages The maximum number of pages. Default null. 143 * @param string $taxonomy Taxonomy name. 144 144 */ 145 145 $max_num_pages = apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy ); … … 160 160 * 161 161 * @param string $taxonomy Taxonomy name. 162 * @return array $argsArray of WP_Term_Query arguments.162 * @return array Array of WP_Term_Query arguments. 163 163 */ 164 164 protected function get_taxonomies_query_args( $taxonomy ) {
Note: See TracChangeset
for help on using the changeset viewer.