quick_edit_dropdown_pages_args filter-hookWP 2.7.0

Filters the arguments used to generate the Quick Edit page-parent drop-down.

Usage

add_filter( 'quick_edit_dropdown_pages_args', 'wp_kama_quick_edit_dropdown_pages_args_filter', 10, 2 );
function wp_kama_quick_edit_dropdown_pages_args_filter( $dropdown_args, $bulk ){
	// filter...

	return $dropdown_args;
}
$dropdown_args(array)
An array of arguments passed to wp_dropdown_pages().
$bulk(true|false)
A flag to denote if it's a bulk action.

Changelog

Since 2.7.0 Introduced.
Since 5.6.0 The $bulk parameter was added.

Where the hook is called

WP_Posts_List_Table::inline_edit()
quick_edit_dropdown_pages_args
wp-admin/includes/class-wp-posts-list-table.php 1788
$dropdown_args = apply_filters( 'quick_edit_dropdown_pages_args', $dropdown_args, $bulk );

Where the hook is used in WordPress

Usage not found.