Browse: Home / Functions /


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 #


(string) (Required) The post type slug.


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

Default value: ''

Source #

File: includes/admin/ld-admin.php

Changelog #

Version Description
2.1.0 Introduced.