Filters a dynamic setting’s constructor args.
For a dynamic setting to be registered, this filter must be employed to override the default false value with an array of args to pass to the WP_Customize_Setting constructor.
$setting_argsfalse|array
$setting_idstring
$_POST['customized'].$setting_args = apply_filters( 'customize_dynamic_setting_args', $setting_args, $setting_id );
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_dynamic_setting_args