CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 07:51:14 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: MISS
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Z6M6HMeseyyz8UlpaL6In%2Fi167VUYEzeVvle6Ioe2X9hQ%2FRLBqFU77mPeWqFqEebSZApsMnTQYkmw7h4WJMBdn%2Fxbgy5XNacgs5p1Ml7wuSZj1xh"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d502c2ec9895be-BLR
gform_filters_get_users - Gravity Forms Documentation
gform_filters_get_users
Description
Use this filter to control the list of users available in the filters on the entry list, export entries conditional logic and results pages.
Usage
add_filter( 'gform_filters_get_users', 'your_function_name' );
Parameters
Parameter | Type | Description |
---|---|---|
$args | array | The array of options to use when filtering the users. See the get_users() Function Reference for further details. |
Examples
This example lists only the users from the role “administrator”.
add_filter( 'gform_filters_get_users', 'filters_get_users_args' );
function filters_get_users_args( $args ) {
$args['role'] = 'administrator';
return $args;
}
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Source Code
apply_filters( 'gform_filters_get_users', array( 'number' => 200 ) );
This filter is located in GFCommon::get_entry_info_filter_columns() in common.php