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 |
---|---|
1694 | * Filters the arguments used to generate the Quick Edit authors drop-down. |
1695 | * |
1696 | * @since 5.6.0 |
1697 | * |
1698 | * @see wp_dropdown_users() |
1699 | * |
1700 | * @param array $users_opt An array of arguments passed to wp_dropdown_users(). |
1701 | * @param bool $bulk A flag to denote if it's a bulk action. |
1702 | */ |
1703 | $users_opt = apply_filters( 'quick_edit_dropdown_authors_args', $users_opt, $bulk ); |
1704 |
|
1705 | $authors = wp_dropdown_users( $users_opt ); |
1706 |
|
1707 | if ( $authors ) { |
1708 | $authors_dropdown = '<label class="inline-edit-author">'; |
1709 | $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; |
1710 | $authors_dropdown .= $authors; |
1711 | $authors_dropdown .= '</label>'; |
1712 | } |