About

WPForms is the most beginner-friendly WordPress form builder plugin. Our drag and drop form builder lets you create beautiful forms for your website in minutes.

Our goal is simple: to provide a WordPress forms plugin that's both easy to use AND powerful. We want to take the pain out of creating online forms and make it easy for everyone - we call it "stupid simple".

Over 6 million websites use WPForms to create contact forms, payment forms, survey forms, conversational forms, newsletter forms, registration forms, and more.

158 Snippets
50+ Favourites
13k Downloads

To Remove a Single Field From {all_fields}

This code snippet removes a single field from your email notifications while still using the {all_fields}…

10+

Sending Geolocation Data Through Webhooks

This snippet works with the Geolocation and Webhooks addon. It allows you to send geolocation data…

10+

Disabling Past Times on the Date / Time Field

This snippet disables past times on the Time Picker field in WPForms.

10+

Setting a Default Featured Image for Post Submissions

This snippet is used to assign a default image that'll serve as the featured image for…

10+

How to Add an Empty Dropdown to Dropdown Items

This snippet maintains a clean "--Select--" option without the zero price display when using the Dropdown…

10+

Storing User's Uncached IP Address in Hidden Field

This snippet lets you capture and store the user's IP address in the Hidden field. It…

10+

Restricting Address Autocomplete to a Specific Country

This snippet is used to modify the default behavior of the address autocomplete feature in WPForms.…

10+

Remove Line Breaks From CSV Exports

This snippet will remove the line breaks from CSV exports.

10+

How to Build a Profile Page Using Post Submissions

With this snippet and the Post Submissions addon, you can create professional author profiles that automatically…

10+

Custom Style Icons for Rating field

This snippet will customize your rating icons in the Rating field

10+

How to Automatically Submit a Form with a Field Choice - CSS

button#wpforms-submit-3046 { display: none; } form#wpforms-form-3046 span.wpforms-icon-choices-label { font-size: 0; } ul#wpforms-3046-field_3 li label:hover, ul#wpforms-3046-field_4 li…

10+

How to Add BCC to Email Notifications (for all forms)

add_filter( 'wp_mail', function ( $args ) { // Add the BCC email address here $bcc_address =…

10+
1 7 8 9 10 11 14