wppaste
WordPress

apply_filters( 'quick_edit_dropdown_authors_args', array $users_opt, bool $bulk )

Since
5.6.0
Filters the arguments used to generate the Quick Edit authors 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

$users_optarray
An array of arguments passed to wp_dropdown_users().
$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:1754WP_Posts_List_Table::inline_edit()

Source code

<?php							 *							 * @see wp_dropdown_users()							 *							 * @param array $users_opt An array of arguments passed to wp_dropdown_users().							 * @param bool $bulk A flag to denote if it's a bulk action.							 */							$users_opt = apply_filters( 'quick_edit_dropdown_authors_args', $users_opt, $bulk ); 							$authors = wp_dropdown_users( $users_opt ); 							if ( $authors ) {								$authors_dropdown  = '<label class="inline-edit-author">';								$authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>';

Changelog

Introduced in 5.6.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.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 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.