Template::single_course_template( $template )

Load Single Course Template


Source

File: classes/Template.php

    public function single_course_template($template){

    	if (is_dozent_course() && ! dozent_has_single_template_in_theme( 'dozent_course' ) ){
            wp_reset_query();

            $template = dozent_get_template_path( 'single-course' );

            return apply_filters('dozent_single_course_template', $template);
        }
        return $template;
    }