learndash_user_courses_options_filter

This hook has been deprecated. No replacement instead.

apply_filters_deprecated( 'learndash_user_courses_options_filter',  array $query_options_course,  string $post_type )

Filters users filter query arguments.


Description #


Parameters #

$query_options_course

(array) An array of users filter query arguments.

$post_type

(string) Post type to check.


Source #

File: includes/admin/classes-posts-listings/class-learndash-admin-users-listing.php


Examples #

 <?php
/**
 * Example usage for learndash_element_lazy_load_admin_users_filters filter.
 */
add_filter(
	'learndash_element_lazy_load_admin_users_filters',
	function( $lazy_load ) {
		// May add any custom logic using $lazy_load.

		// Always return $lazy_load.
		return $lazy_load;
	}
);
 

Changelog #

Changelog
Version Description
3.2.3 Introduced.