quick_edit_dropdown_pages_args WordPress Filter Hook
The quick_edit_dropdown_pages_args hook allows you to modify the arguments used in the dropdown menu of pages when using the Quick Edit feature in the WordPress admin. This can be useful if you want to change the order of the pages in the dropdown, or if you want to add or remove pages from the menu.
apply_filters( 'quick_edit_dropdown_pages_args', array $dropdown_args , bool $bulk ) #
Filters the arguments used to generate the Quick Edit page-parent drop-down.
Description
See also
Parameters
- $dropdown_args
(array)An array of arguments passed to wp_dropdown_pages().
- $bulk
(bool)A flag to denote if it's a bulk action.
Source
Changelog
Version | Description |
---|---|
5.6.0 | The $bulk parameter was added. |
2.7.0 | Introduced. |