is_dozent_single_lecture()

is_dozent_single_lecture – Returns true when viewing a single lecture.


Description

Example usage:

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

Return

(bool)


Source

File: includes/conditional-functions.php

    function is_dozent_single_lecture() {
        return is_singular( [ 'dozent_lecture' ] );
    }


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.