WP_Customize_Nav_Menus::filter_nonces( array $nonces )

Adds a nonce for customizing menus.


Description Description


Parameters Parameters

$nonces

(array) (Required) Array of nonces.


Top ↑

Return Return

(array) $nonces Modified array of nonces.


Top ↑

Source 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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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