wppaste
WordPress

apply_filters( 'quick_edit_dropdown_pages_args', array $dropdown_args, bool $bulk )

Since
2.7.0, 5.6.0
Filters the arguments used to generate the Quick Edit page-parent drop-down.

Compatibility

WordPress
since 5.6.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$dropdown_argsarray
An array of arguments passed to wp_dropdown_pages().
$bulkbool
A flag to denote if it's a bulk action.

Where this hook fires · 1

  • wp-admin/includes/class-wp-posts-list-table.php:1866WP_Posts_List_Table::inline_edit()

Source code

							 *							 * @see wp_dropdown_pages()							 *							 * @param array $dropdown_args An array of arguments passed to wp_dropdown_pages().							 * @param bool  $bulk          A flag to denote if it's a bulk action.							 */							$dropdown_args = apply_filters( 'quick_edit_dropdown_pages_args', $dropdown_args, $bulk ); 							wp_dropdown_pages( $dropdown_args );							?>						</label> 					<?php endif; // hierarchical ?>

Changelog

Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

5.6.0
The $bulk parameter was added.from the docblock
2.7.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.