wp_create_nonce


wp_create_nonce ( $action = -1 )

Parameters:
  • (string|int) action Scalar value to add context to the nonce.
Returns:
  • (string) The token.
Defined at:
Change Log:
  • 4: .

Description

Creates a cryptographic token tied to a specific action, user, user session, and window of time.

Related Functions

wp_create_term, wp_create_user, wp_ajax_rest_nonce, wp_create_category, wp_create_nav_menu

Top Google Results

User discussions

wpseek mobile