Changeset 9762
- Timestamp:
- 04/22/2020 03:10:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-rest/wordpresstv-rest.php
r9286 r9762 180 180 $taxonomy = $taxonomies[ $method ]; 181 181 $taxonomy_obj = get_taxonomy( $taxonomy ); 182 $total_count = wp_count_terms( $taxonomy, array( 'hide_empty' => true ) );182 $total_count = wp_count_terms( $taxonomy, array( 'hide_empty' => false ) ); 183 183 184 184 $page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; … … 187 187 $terms = get_terms( array( 188 188 'taxonomy' => $taxonomy, 189 'hide_empty' => true,189 'hide_empty' => false, 190 190 'number' => $per_page, 191 191 'offset' => $per_page * ($page - 1),
Note: See TracChangeset
for help on using the changeset viewer.