W3cubDocs

/WordPress

WP_Customize_Manager::register_dynamic_settings()

Add settings from the POST data that were not added with code, e.g. dynamically-created settings for Widgets

Description

See also

Source

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

public function register_dynamic_settings() {
		$setting_ids = array_keys( $this->unsanitized_post_values() );
		$this->add_dynamic_settings( $setting_ids );
	}

Changelog

Version Description
4.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/register_dynamic_settings