Template::single_curriculum_template( $template )


Source

File: classes/Template.php

    public function single_curriculum_template( $template ) {

	    if ( is_dozent_single_lecture() || is_dozent_single_quiz() || is_dozent_single_assignment() ) {
		    $page_id = get_the_ID();

		    do_action( 'dozent_curriculum_load_before', $template );

		    setup_postdata( $page_id );

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

		    wp_reset_postdata();

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

	    return $template;
    }