Browse: Home / Hooks /


This hook has been deprecated. Use ‘learndash_listing_filter_query_args’ instead.

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

Filters course filter query arguments.

Description #

Parameters #


(array) An array of course filter query arguments.


(string) Post type to check.

Source #

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

Examples #

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

 * Example usage for learndash_element_lazy_load_admin_{$_GET['post_type']}_filters filter.
	function( $lazy_load ) {
		// May add any custom logic using $lazy_load.

		// Always return $lazy_load.
		return $lazy_load;

Changelog #

Version Description
3.2.3 Use 'learndash_listing_filter_query_args' instead.
2.2.1 Introduced. This hook has been deprecated. Use {@see 'learndash_listing_filter_query_args'} instead.