Browse: Home / Hooks /

learndash_show_post_type_selector_filter

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

apply_filters_deprecated( 'learndash_show_post_type_selector_filter',  array $query_arguments,  array $post_types )

Filters post type selector filter query arguments.


Description #


Parameters #

$query_arguments

(array) An array of selector query arguments.

$post_types

(array) An array of listing post types.


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

 <?php
/**
 * Example usage for learndash_report_page_buttons action.
 */
add_action(
	'learndash_report_page_buttons',
	function() {

		// Add your custom code here
	}
);
 

Changelog #

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