wp_dropdown_users
Filters the wp_dropdown_users() HTML output.
Usage
add_filter( 'wp_dropdown_users', 'wp_kama_dropdown_users_filter' );
/**
* Function for `wp_dropdown_users` filter-hook.
*
* @param string $output HTML output generated by wp_dropdown_users().
*
* @return string
*/
function wp_kama_dropdown_users_filter( $output ){
// filter...
return $output;
}
- $output(string)
- HTML output generated by wp_dropdown_users().
Changelog
| Since 2.3.0 | Introduced. |
Where the hook is called
wp_dropdown_users
wp-includes/user.php 1858
$html = apply_filters( 'wp_dropdown_users', $output );