Skip to main content
WP HealthKit

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.

WP HealthKit checks for check_admin_referer()-related vulnerabilities automatically

Run a Free Audit
What Is check_admin_referer()? — WordPress Security Glossary | WP HealthKit