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…
Hiding the Currency Symbol in WPForms Total Field
This code snippet removes the following currency symbols from the Total field: £, $, €.
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Add Custom Donation Field
Add a new donation field to be displayed in Charitable emails related to donations.
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Auto Register Login Link
Replaces the login link included in the Auto Register email, which directs customers to log into…
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
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.
Changing Sublabels for the Email Field
This snippet is used to update the default labels for the Email field when it includes…