dozent_register_query_vars()

Register new query vars to WordPress


Description

It will support to add / register custom template with custom end point, like profile page, course/lecture permalinks, etc


Return

(mixed|void)


Source

File: includes/core-functions.php

	function dozent_register_query_vars() {

		$query_vars = [
			'lecture_video',
			'dozent_dashboard_page',
			'dozent_dashboard_sub_page',
			'dozent_profile_username',
			'profile_sub_page',
		];

		return apply_filters( 'dozent_register_query_vars', $query_vars );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.