Definition:
function wp_nonce_url( $actionurl, $action = -1 ) {}
Retrieve URL with nonce added to URL query.
Parameters
- string $actionurl: URL to add nonce action
- string $action: Optional. Nonce action name
Return values
returns:URL with nonce action added.
Source code
function wp_nonce_url( $actionurl, $action = -1 ) { $actionurl = str_replace( '&', '&', $actionurl ); return esc_html( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) ); }
3953
No comments yet... Be the first to leave a reply!