is_course_category( mixed $term = '' )

Determine if a course category archive page is being displayed.


Parameters Parameters

$term

(mixed) (Optional) Single or array of course category ID(s), name(s), or slug(s).

Default value: ''


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/functions/llms-functions-conditional-tags.php

	function is_course_category( $term = '' ) {
		return is_tax( 'course_cat', $term );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.