Function Reference/wp nonce url
Description
Retrieve URL with nonce added to URL query.
Usage
<?php wp_nonce_url( $actionurl, $action ) ?>
Parameters
- $actionurl
- (string) (required) URL to add nonce action
- Default: None
- $action
- (string) (optional) nonce action name
- Default: -1
Return Values
- (string)
- URL with nonce action added.
Examples
Notes
Change Log
Since: 2.0.4
Source File
wp_nonce_url() is located in wp-includes/functions.php.
Related