Data Sanitization and Escaping for CF7 — a practical guide to Contact Form 7 sanitize escape with clear examples you can reuse in real projects.
Contact Form 7 Tutorial Series (92/100). Prefer one article? Read the complete Contact Form 7 tutorial.
Short description
Treat posted values as untrusted even after CF7 validation.
Examples
$email = sanitize_email($data['your-email'] ?? '');
echo esc_html($name);