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

Top ↑

See also


Top ↑

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.


Top ↑

Source

File: wp-admin/includes/class-wp-posts-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.6.0The $bulk parameter was added.
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.