Summery Summery
Adds a nonce for customizing menus.
Syntax Syntax
Parameters Parameters
- $nonces
-
(Required) Array of nonces.
Return Return
(string[]) $nonces Modified array of nonces.
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; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |