Browse: Home / Hooks /


apply_filters( 'learndash_use_legacy_course_access_list',  boolean $use_legacy_course_access_list )

Filters whether to use legacy course access list or not.

Description #

Parameters #


(boolean) Whether to use legacy course access list.

Source #

File: includes/course/ld-course-functions.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_use_legacy_course_access_list filter.
	function( $use_legacy_course_access_list ) {
		// May add any custom logic using $use_legacy_course_access_list.

		// Always return $use_legacy_course_access_list.
		return $use_legacy_course_access_list;