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; } } BEGIN:VCALENDAR VERSION:2.0 PRODID:-//CSU//NONSGML v1.0//EN CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT UID:227454-0 SUMMARY:So You Want to Go to Grad School? DTSTART:20210304T190000Z DTEND:20210304T200000Z DTSTAMP:20210218T170324Z LAST-MODIFIED:20210226T144530Z SEQUENCE:0 LOCATION:Virtual DESCRIPTION:\n\n\n\n\n"So You want to go to Grad School?" A discussion of online and on-campus graduate degrees offered by the College of Business and College of Adult and Professional Studies. This program is designed for students who will be graduating in Fall 2021 or Spring 2022.\n\n\n\nJoin us on Thursday\, March 4 at 2 p.m. For more information and to register\, contact Christina Bruno\, Graduate Admissions Counselor (cbruno@csuniv.edu\, 843-863-7365)\, or Anne King in the College of Business (aking@csuniv.edu\, 843-863-7955). \n END:VEVENT END:VCALENDAR