WP_Customize_Widgets::filter_customize_dynamic_setting_args( false|array $args, string $setting_id )

Determines the arguments for a dynamically-created setting.

Parameters Parameters


(false|array) (Required) The arguments to the WP_Customize_Setting constructor.


(string) (Required) ID for dynamic setting, usually coming from $_POST['customized'].

Top ↑

Return Return

(array|false) Setting arguments, false otherwise.

Top ↑

Source Source

File: wp-includes/class-wp-customize-widgets.php

	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;

Top ↑

Changelog Changelog

Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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