WP_Customize_Nav_Menus::filter_nonces( array $nonces )

Adds a nonce for customizing menus.


Parameters

$nonces

(Required) Array of nonces.


Return

(array) $nonces Modified array of nonces.


Source

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

	public function filter_nonces( $nonces ) {
		$nonces['customize-menus'] = wp_create_nonce( 'customize-menus' );
		return $nonces;
	}


Changelog

Changelog
Version Description
WP-4.5.0 Introduced.