Tribe__Events__Validator__Base::is_event_category( mixed $category )

Whether the event category exists or not.


Parameters

$category

(mixed) (Required) Either a single event category term_id or slug or an array of term_ids and slugs


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_event_category( $category ) {
		return $this->is_term_of_taxonomy( $category, Tribe__Events__Main::TAXONOMY );
	}

Top ↑

Changelog

Changelog
Version Description
4.6 Introduced.