WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 1676 | * Filters the arguments used to generate the Quick Edit authors drop-down. |
| 1677 | * |
| 1678 | * @since 5.6.0 |
| 1679 | * |
| 1680 | * @see wp_dropdown_users() |
| 1681 | * |
| 1682 | * @param array $users_opt An array of arguments passed to wp_dropdown_users(). |
| 1683 | * @param bool $bulk A flag to denote if it's a bulk action. |
| 1684 | */ |
| 1685 | $users_opt = apply_filters( 'quick_edit_dropdown_authors_args', $users_opt, $bulk ); |
| 1686 | |
| 1687 | $authors = wp_dropdown_users( $users_opt ); |
| 1688 | |
| 1689 | if ( $authors ) { |
| 1690 | $authors_dropdown = '<label class="inline-edit-author">'; |
| 1691 | $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; |
| 1692 | $authors_dropdown .= $authors; |
| 1693 | $authors_dropdown .= '</label>'; |
| 1694 | } |