Browse: Home / Functions /

learndash_create_nonce

learndash_create_nonce( string $action )

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


Description #

Adds the learndash_ prefix to the action.


Parameters #

$action

(string) (Required) String value to add context to the nonce.


Return #

(string) The token.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
4.12.0 Introduced.