WP_Customize_Nav_Menu_Setting::sanitize

SummerySummery

Sanitize an input.

Syntax

WP_Customize_Nav_Menu_Setting::sanitize( array $value )

DescriptionDescription

Note that parent::sanitize() erroneously does wp_unslash() on $value, but we remove that in this override.

ParametersParameters

$value

(array) (Required) The value to sanitize.

ReturnReturn

(array|false|null) Null if an input isn't valid. False if it is marked for deletion. Otherwise the sanitized value.

SourceSource

File: wp-includes/customize/class-wp-customize-nav-menu-setting.php


			

ChangelogChangelog

Changelog
Version Description
4.3.0 Introduced.
Scroll to Top