Filter: gform_author_dropdown_args
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_author_dropdown_args(base hook)gform_author_dropdown_args_1(with first modifier value)
Filter the arguments used to query users for the author dropdown.
Originally added to limit users for performance. Now with AJAX and 10-result limit by default, useful for role restrictions or custom filtering.
Parameters
| Name | Type | Description |
|---|---|---|
| $args | array | WP_User_Query arguments for get_users() |
Since
- 1.3.10
Source
Defined in includes/author-select/class-gf-author-select.php at line 56