quick_edit_dropdown_authors_args filter-hookWP 5.6.0

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

Usage

add_filter( 'quick_edit_dropdown_authors_args', 'wp_kama_quick_edit_dropdown_authors_args_filter', 10, 2 );
function wp_kama_quick_edit_dropdown_authors_args_filter( $users_opt, $bulk ){
	// filter...

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

Changelog

Since 5.6.0 Introduced.

Where the hook is called

WP_Posts_List_Table::inline_edit()
quick_edit_dropdown_authors_args
wp-admin/includes/class-wp-posts-list-table.php 1685
$users_opt = apply_filters( 'quick_edit_dropdown_authors_args', $users_opt, $bulk );

Where the hook is used in WordPress

Usage not found.