wp_dropdown_users_args WordPress Filter Hook

The wp_dropdown_users_args hook is used to modify the arguments used in the wp_dropdown_users() function. This hook can be used to add or remove arguments from the function, or to modify the default values of the arguments.

apply_filters( 'wp_dropdown_users_args', array $query_args, array $parsed_args ) #

Filters the query arguments for the list of users in the dropdown.


Parameters

$query_args

(array)The query arguments for get_users().

$parsed_args

(array)The arguments passed to wp_dropdown_users() combined with the defaults.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More