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: - Introduced in WordPress: 2.0.4
- Deprecated in WordPress: —
Description
Retrieves URL with nonce added to URL query.