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":362404,"date":"2023-11-09T15:40:53","date_gmt":"2023-11-09T20:40:53","guid":{"rendered":"https:\/\/www.charlestonsouthern.edu\/?post_type=calendar_event&p=362404"},"modified":"2023-11-09T16:37:28","modified_gmt":"2023-11-09T21:37:28","slug":"occ-and-aviatation-night-at-the-stingrays","status":"publish","type":"calendar_event","link":"https:\/\/www.charlestonsouthern.edu\/calendar_event\/occ-and-aviatation-night-at-the-stingrays\/","title":{"rendered":"OCC and Aviation Night at the Stingrays"},"content":{"rendered":"\n

It’s CSU night at the Stingrays THIS FRIDAY! Anyone who brings a donation for Operation Christmas Child to the CSU booth (section 110) on Friday night will receive a $5 gift certificate to The Reef. It’s also Aviation night, so don’t forget to stop by the Aeronautics table (section 110) and speak to Prof. Lloyd Richardson, chair of the Aeronautics program at CSU. Kids (and big kids alike) can enjoy making airplanes and testing them on a “runway” in the concourse. Bucky will be in attendance too!
<\/p>\n\n\n\n

Check out the discounted tickets for any CSU student or employee at https:\/\/fevo-enterprise.com\/group\/Csustudent\/offers<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

It’s CSU night at the Stingrays THIS FRIDAY! Anyone who brings a donation for Operation Christmas Child to the CSU booth (section 110) on Friday night will receive a $5 gift certificate to The Reef. It’s also Aviation night, so don’t forget to stop by the Aeronautics table (section 110) and speak to Prof. Lloyd […]<\/p>\n","protected":false},"featured_media":0,"template":"","calendar_event_category":[85],"calendar_event_tag":[],"class_list":["post-362404","calendar_event","type-calendar_event","status-publish","hentry","calendar_event_category-all","regular","event-category-all"],"acf":[],"jetpack_sharing_enabled":true,"generated_slug":"occ-and-aviatation-night-at-the-stingrays","_links":{"self":[{"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event\/362404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event"}],"about":[{"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/types\/calendar_event"}],"wp:attachment":[{"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/media?parent=362404"}],"wp:term":[{"taxonomy":"calendar_event_category","embeddable":true,"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event_category?post=362404"},{"taxonomy":"calendar_event_tag","embeddable":true,"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event_tag?post=362404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}