How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…
How to Perform Field Comparisons Within Your WPForms
/** * Perform Field Comparisons * * @link https://wpforms.com/developers/how-to-perform-field-comparisons-within-your-wpforms/ */ function wpf_dev_compare_fields( $fields, $entry, $form_data )…
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
Add User Dashboard Menu
Include the User Dashboard menu at the top of all pages that are included in the…
Remove Donation Form Fields
This example shows how to remove fields from the donation form.
Add Campaigns Menu
Add a top-level Campaigns menu tab to the menu in the WordPress dashboard.
Remove Google Fonts (Elementor)
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
Enable HTTP Strict Transport Security (HSTS) in WordPress
The provided code snippet is a WordPress function that enables a WordPress site's HTTP Strict Transport…
Disable All Page Builder Integration
This filter can be used to completely disable our page builder integration for all builders.
Change Time zone Offset in the Publish Date of the Sitemap Entries
The code snippet below can be used to change the time zone offset in the publish…
Ignore Cover Image Block when “First Image in Content” is set as the Image Source
This filter can be used to ignore the cover image block when “First Image in Content”…
Prevent AIOSEO From Outputting a rel=”next” Link
Prevent AIOSEO from outputting a rel=”next” link
Change the No Results Found text in Modern Dropdown
This snippet changes the default no result found text in Dropdown field with Modern style.
Setting the Default Address Scheme to International
This snippet is used to update the default behavior of the Address field in WPForms. This…
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…