restrict_listings_by_course

restrict_listings_by_course( string $post_type,  string $location = '' )

Outputs the select dropdown before the filter button to filter post listing by course.


Description #

Fires on restrict_manage_posts hook.


Parameters #

$post_type

(string) (Required) The post type slug.

$location

(string) (Optional) The location of the extra table nav markup.

Default value: ''


Source #

File: includes/admin/ld-admin.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.