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 custom post types shown filter. 
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_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 #
| Version | Description | 
|---|---|
| 3.2.3 | Use 'learndash_listing_selectors' instead. | 
| 2.3.1 | Introduced. This hook has been deprecated. Use {@see 'learndash_listing_selectors'} instead. |