apply_filters( ‘customize_dynamic_setting_class’, string $setting_class, string $setting_id, array $setting_args )

In this article

Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.

Parameters

$setting_classstring
WP_Customize_Setting or a subclass.
$setting_idstring
ID for dynamic setting, usually coming from $_POST['customized'].
$setting_argsarray
WP_Customize_Setting or a subclass.

Source

$setting_class = apply_filters( 'customize_dynamic_setting_class', $setting_class, $setting_id, $setting_args );

Changelog

VersionDescription
4.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.