wp_nonce_url


wp_nonce_url ( $actionurl, $action = -1, $name = '_wpnonce' )

Parameters:
  • (string) actionurl URL to add nonce action.
  • (int|string) action Optional. Nonce action name. Default -1.
  • (string) name Optional. Nonce name. Default '_wpnonce'.
Returns:
  • (string) Escaped URL with nonce action added.
Defined at:

Description

Retrieves URL with nonce added to URL query.

Related Functions

wp_nonce_field, wp_login_url, wp_nonce_ays, wp_nonce_tick, wp_get_canonical_url

Top Google Results

User discussions

wpseek mobile