learndash-admin-cpt-filters-display

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

apply_filters_deprecated( 'learndash-admin-cpt-filters-display',  array $cpt_filters_shown )

Filters list of CPT shown for a filter.


Description #


Parameters #

$cpt_filters_shown

(array) An array of cpts shown filter.


Source #

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


Examples #

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

		// Always return $http_headers.
		return $http_headers;
	},
	10,
	3
);
 

Changelog #

Changelog
Version Description
3.2.3 Introduced.