WP_Customize_Nav_Menus::filter_dynamic_setting_class

Advertisement

Summery Summery

Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.

Syntax Syntax

WP_Customize_Nav_Menus::filter_dynamic_setting_class( string $setting_class, string $setting_id, array $setting_args )

Parameters Parameters

$setting_class

(string) (Required) WP_Customize_Setting or a subclass.

$setting_id

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

$setting_args

(array) (Required) WP_Customize_Setting or a subclass.

Return Return

(string)

Source Source

File: wp-includes/class-wp-customize-nav-menus.php

			'oneThemeLocationNoMenus' => null,
			'moveUp'                  => __( 'Move up one' ),
			'moveDown'                => __( 'Move down one' ),
			'moveToTop'               => __( 'Move to the top' ),
			/* translators: %s: Previous item name. */
			'moveUnder'               => __( 'Move under %s' ),
			/* translators: %s: Previous item name. */
			'moveOutFrom'             => __( 'Move out from under %s' ),
			/* translators: %s: Previous item name. */
			'under'                   => __( 'Under %s' ),

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?