apply_filters( 'customize_dynamic_setting_class', string $setting_class, string $setting_id, array $setting_args )
Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.
Parameters
- $setting_class
-
(string) WP_Customize_Setting or a subclass.
- $setting_id
-
(string) ID for dynamic setting, usually coming from
$_POST['customized']
. - $setting_args
-
(array) WP_Customize_Setting or a subclass.
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_dynamic_setting_class