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":344128,"date":"2022-11-04T16:07:20","date_gmt":"2022-11-04T20:07:20","guid":{"rendered":"https:\/\/www.charlestonsouthern.edu\/?post_type=calendar_event&p=344128"},"modified":"2022-11-07T12:43:51","modified_gmt":"2022-11-07T17:43:51","slug":"november-first-look","status":"publish","type":"calendar_event","link":"https:\/\/www.charlestonsouthern.edu\/calendar_event\/november-first-look\/","title":{"rendered":"November First Look"},"content":{"rendered":"\n

Saturday, November 12, 2022 at 9:00 AM until 3:00 PM Eastern Standard Time<\/p>\n\n\n\n

Charleston Southern University
9200 University Blvd
N Charleston, SC 29406
United States<\/p>\n\n\n\n

First Look<\/em> is Charleston Southern\u2019s open house event, designed to give students a complete look at life at Charleston Southern. Prospective students will have the opportunity to tour campus and participate in some of the breakout sessions including one-on-one time with faculty, financial aid and admissions workshops and a panel with current Charleston Southern students. It\u2019s a great way to get more information about whether Charleston Southern University is a good fit for you.

We know it can be difficult to find a university that believes in the same values you do. Look no further than Charleston Southern University; we are dedicated to helping our students find excellence in academics, in faith and in life.<\/p>\n\n\n\n


Sign up for a First Look today<\/a>! We can’t wait to see you soon!<\/p>\n","protected":false},"excerpt":{"rendered":"

Saturday, November 12, 2022 at 9:00 AM until 3:00 PM Eastern Standard Time Charleston Southern University9200 University BlvdN Charleston, SC 29406United States First Look is Charleston Southern\u2019s open house event, designed to give students a complete look at life at Charleston Southern. Prospective students will have the opportunity to tour campus and participate in some of […]<\/p>\n","protected":false},"featured_media":0,"template":"","calendar_event_category":[81],"calendar_event_tag":[],"class_list":["post-344128","calendar_event","type-calendar_event","status-publish","hentry","calendar_event_category-admissions","regular","location-3715","event-category-admissions"],"acf":[],"jetpack_sharing_enabled":true,"generated_slug":"november-first-look","_links":{"self":[{"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event\/344128","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=344128"}],"wp:term":[{"taxonomy":"calendar_event_category","embeddable":true,"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event_category?post=344128"},{"taxonomy":"calendar_event_tag","embeddable":true,"href":"https:\/\/www.charlestonsouthern.edu\/wp-json\/wp\/v2\/calendar_event_tag?post=344128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}