Change Fields On Donation Form
Example on how to change labels for fields on donation form.
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
Remove the link from the current breadcrumb item on a page
This snippet removes the link from the current breadcrumb item on a page.
How to Change the Error Text for Failed Submissions
This code snippet changes the error text that shows to your visitors on failed submissions.
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(…
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:…
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
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' ); /**…
Add Image Alt Text automatic
function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Change Postcode To Zipcode
Change the "Postcode" field into a "ZIP Code" field.
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );