check_admin_referer()
WordPress function that verifies a nonce was included in the request, dying with an error if invalid.
How it works
WordPress function that verifies a nonce was included in the request, dying with an error if invalid.
In WordPress
Use in form submission handlers. Combines nonce verification with referer checking for double protection.
Related terms
WP HealthKit checks for check_admin_referer()-related vulnerabilities automatically
Run a Free Audit