apply_filters( 'customize_dynamic_setting_args', false|array $setting_args, string $setting_id )

Filters a dynamic setting’s constructor args.


Description Description

For a dynamic setting to be registered, this filter must be employed to override the default false value with an array of args to pass to the WP_Customize_Setting constructor.


Top ↑

Parameters Parameters

$setting_args

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

$setting_id

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


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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