wp_nonce
-
Hello,
I need to create a button to cancel a booking.
<a href="' . get_site_url() . '?action=booking_cancel&booking_id=' . esc_html( $row->booking_id) . '&_wpnonce=">Annuler</a>';
but… how can I know the _wpnonce value ?
Without the _wpnonce field, the server returns “Tente d’effectuer une action illégal”
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘wp_nonce’ is closed to new replies.