Browse: Home / Hooks /


apply_filters( 'learndash_select2_lib',  boolean $learndash_select2 )

Filters whether the select2 is loaded or not.

Description #

Parameters #


(boolean) whether the select2 library is loaded or not.

Source #

File: includes/ld-misc-functions.php

Examples #

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

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

		// Always return $learndash_select2.
		return $learndash_select2;