WordPress at a glance
function is not described

WP_Customize_Manager::register_dynamic_settings() public WP 4.2.0

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

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->register_dynamic_settings();

Notes

  • See: add_dynamic_settings()

Changelog

Since 4.2.0 Introduced.

Code of WP_Customize_Manager::register_dynamic_settings() WP 5.7.2

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