Summery Summery
Filters a dynamic setting’s constructor args.
Syntax Syntax
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.
Parameters Parameters
- $setting_args
-
(Required) The arguments to the WP_Customize_Setting constructor.
- $setting_id
-
(Required) ID for dynamic setting, usually coming from
$_POST['customized']
.
Return Return
(array|false)
Source Source
File: wp-includes/class-wp-customize-nav-menus.php
'pendingTitleTpl' => __( '%s (Pending)' ), /* translators: %d: Number of menu items found. */ 'itemsFound' => __( 'Number of items found: %d' ), /* translators: %d: Number of additional menu items found. */ 'itemsFoundMore' => __( 'Additional items found: %d' ), 'itemsLoadingMore' => __( 'Loading more results... please wait.' ), 'reorderModeOn' => __( 'Reorder mode enabled' ), 'reorderModeOff' => __( 'Reorder mode closed' ), 'reorderLabelOn' => esc_attr__( 'Reorder menu items' ), 'reorderLabelOff' => esc_attr__( 'Close reorder mode' ), ), 'settingTransport' => 'postMessage', 'phpIntMax' => PHP_INT_MAX, 'defaultSettingValues' => array(
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |