WP_Customize_Nav_Menus::filter_nonces( string[] $nonces )

Adds a nonce for customizing menus.

Parameters Parameters


(string[]) (Required) Array of nonces.

Top ↑

Return Return

(string[]) 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

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.