Description
Filters the registration arguments when registering a setting.
Occurrences
Filename | Line Number |
---|---|
wp-includes/option.php | 2941 |
Parameters
Type | Name | Description |
---|---|---|
array | $args | Array of setting registration arguments. |
array | $defaults | Array of default arguments. |
string | $option_group | Setting group. |
string | $option_name | Setting name. |
PHP Doc
/**
* Filters the registration arguments when registering a setting.
*
* @since 4.7.0
*
* @param array $args Array of setting registration arguments.
* @param array $defaults Array of default arguments.
* @param string $option_group Setting group.
* @param string $option_name Setting name.
*/