WP_Customize_Nav_Menus::hash_nav_menu_args

Advertisement

Summery Summery

Hashes (hmac) the nav menu arguments to ensure they are not tampered with when submitted in the Ajax request.

Syntax Syntax

WP_Customize_Nav_Menus::hash_nav_menu_args( array $args )

Description Description

Note that the array is expected to be pre-sorted.

Parameters Parameters

$args

(Required) The arguments to hash.

Return Return

(string) Hashed nav menu arguments.

Source Source

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

				||
				( isset( $args['items_wrap'] ) && '<' === substr( $args['items_wrap'], 0, 1 ) )
			)

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply