dozent_course_archive_page_id()


Return

(mixed|void) Get Dozent Archive Page ID if select any custom page as archive


Source

File: includes/core-functions.php

	function dozent_course_archive_page_id() {
		$page_id = (int) dozent_get_option( 'course_archive_page_id' );

		if ( ! ($page_id > 0) ){
			$page_id = 0;
		}

		return apply_filters( 'dozent_course_archive_page_id', $page_id );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.