is_dozent_course()

Determine if the current page | screen is course


Description

It will return true if you are currently on Dozent LMS single course page

Example usage:

if( is_dozent_course() ){
     //code goes here.
}

Return

(bool)


Source

File: includes/conditional-functions.php

    function is_dozent_course() {
        return is_singular( [ 'dozent_course' ] );
    }


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.