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.

167 Snippets
60+ Favourites
15k Downloads

Setting the Default Address Scheme to International

This snippet is used to update the default behavior of the Address field in WPForms. This…

10+

How to Store Field Values in the WPForms Entry

/** * Show values in Dropdown, checkboxes, and Multiple Choice. */ add_action( 'wpforms_fields_show_options_setting', '__return_true' ); /**…

10+

Changing Sublabels for the Email Field

This snippet is used to update the default labels for the Email field when it includes…

10+

Change the No Results Found text in Modern Dropdown

This snippet changes the default no result found text in Dropdown field with Modern style.

10+

How to Customize the Rich Text Field TinyMCE Icons

/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…

10+

Generate and Send Invoice Number to Authorize.Net

This snippet generates and sends a unique invoice number to Authorize.Net for completed payments in WPForms

10+

How to Set the Language for Google reCAPTCHA

/** * Set the language for Google reCAPTCHA. * * @link https://wpforms.com/developers/how-to-set-the-language-for-google-recaptcha/ */ function wpf_dev_recaptcha_language( $url…

10+

Customizing Checkbox and Radio Fields to Look Like Buttons (Specific Forms)

This code snippet will customize Checkbox and Radio fields to look like buttons.

10+

How to Change the Error Text for Failed Submissions

This code snippet changes the error text that shows to your visitors on failed submissions.

<10

How to Add BCC to Email Notifications (for specific form)

/** * Add BCC recipients to specific form email notifications. * * @link https://wpforms.com/docs/how-to-add-bcc-to-email-notifications/ */ add_filter(…

<10

How to Customize the Labels for Image Choices - Combined effect

form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-item:hover .wpforms-image-choices-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #f6f6f6; color:…

<10

Dynamically Setting Stripe Payment Description in WPForms

To dynamically set the Stripe payment description, add the following code snippet to your site.

<10
1 10 11 12 13 14