Customize the From Email Address for the Save and Resume Addon
This snippet will customize the from email address that the Save and Resume addon uses when…
How to Defer the reCAPTCHA Script
/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Add Campaign Raised Summary
Add a short summary after the donation details showing the funds raised by each campaign.
Automatically Delete Woocommerce Images After Deleting a Product
Automatically Delete Woocommerce Images After Deleting a Product
display user name in a menu
/** * Show a user's display name/user name in a WordPress menu. * Once this code…
How to Change Google reCAPTCHA Language Settings
WPML support
Add Dropdown Field To Donation Form
Shows how to add a custom dropdown in a donation form (this example the select field…
Display Post and Page IDs in WordPress Columns
This PHP code enables you to display the IDs of posts and pages within WordPress columns.…
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
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 Campaign Slug Base
Change the /campaigns/ bit to something else.
WP Simple Pay: Add More Aggressive Rate Limiting
Changes the various default rate limit settings.
Prevent AIOSEO From Outputting any Data on Category Archive Pages
Prevent AIOSEO from outputting any data on category archive pages.
Dynamically Setting Stripe Payment Description in WPForms
To dynamically set the Stripe payment description, add the following code snippet to your site.