Core Function
View Source on Trac ↗ wp_create_nonce()
wp_create_nonce( mixed $action = -1 ) Creates a cryptographic token tied to a specific action, user, user session,
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | int) $action Scalar value to add context to the nonce. Required |
Return Value
(string)
The token.
Function Information
Since Version
2.0.3
Source File
wp-includes/pluggable.php
Advertisement