Determines the arguments for a dynamically-created setting.
Parameters
$args
false|arrayrequired- The arguments to the WP_Customize_Setting constructor.
$setting_id
stringrequired- ID for dynamic setting, usually coming from
$_POST['customized']
.
Source
public function filter_customize_dynamic_setting_args( $args, $setting_id ) {
if ( $this->get_setting_type( $setting_id ) ) {
$args = $this->get_setting_args( $setting_id );
}
return $args;
}
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.