is_course()

Determine if a single course is being displayed.


Return Return

(boolean)


Top ↑

Source Source

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

	function is_course() {
		return is_singular( array( 'course' ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

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