s the more descriptive, specific name for use within this method. $taxonomy = $object_subtype; /** * Filters the max number of pages for a taxonomy sitemap before it is generated. * * Passing a non-null value will short-circuit the generation, * returning that value instead. * * @since 5.5.0 * * @param int|null $max_num_pages The maximum number of pages. Default null. * @param string $taxonomy Taxonomy name. */ $max_num_pages = apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy ); if ( null !== $max_num_pages ) { return $max_num_pages; } $term_count = wp_count_terms( $this->get_taxonomies_query_args( $taxonomy ) ); return (int) ceil( $term_count / wp_sitemaps_get_max_urls( $this->object_type ) ); } /** * Returns the query args for retrieving taxonomy terms to list in the sitemap. * * @since 5.5.0 * * @param string $taxonomy Taxonomy name. * @return array Array of WP_Term_Query arguments. */ protected function get_taxonomies_query_args( $taxonomy ) { /** * Filters the taxonomy terms query arguments. * * Allows modification of the taxonomy query arguments before querying. * * @see WP_Term_Query for a full list of arguments * * @since 5.5.0 * * @param array $args Array of WP_Term_Query arguments. * @param string $taxonomy Taxonomy name. */ $args = apply_filters( 'wp_sitemaps_taxonomies_query_args', array( 'taxonomy' => $taxonomy, 'orderby' => 'term_order', 'number' => wp_sitemaps_get_max_urls( $this->object_type ), 'hide_empty' => true, 'hierarchical' => false, 'update_term_meta_cache' => false, ), $taxonomy ); return $args; } } {"id":299947,"date":"2021-07-14T15:48:17","date_gmt":"2021-07-14T19:48:17","guid":{"rendered":"https:\/\/www.charlestonsouthern.edu\/?post_type=calendar_event&p=299947"},"modified":"2022-01-05T16:01:04","modified_gmt":"2022-01-05T21:01:04","slug":"start-featuring-lauren-hall","status":"publish","type":"calendar_event","link":"https:\/\/www.charlestonsouthern.edu\/calendar_event\/start-featuring-lauren-hall\/","title":{"rendered":"START featuring Lauren Hall"},"content":{"rendered":"\n

Artist Lauren Hall will be joining us for an OUTDOOR concert in the field in front of the new residence hall on Thursday, January 13. This event will be packed full of great music.

It’s FREE!!! BUT, you have to bring one Operation Christmas Child item for entry. <\/p>\n\n\n\n

So grab a friend, an OCC-approved item<\/a>, your blankets (and coats), and let’s START 2022 with some great music!<\/p>\n\n\n

GET TICKETS<\/a><\/div><\/div>\t\t\t