Meta Pixel Code
Add Meta Pixel Code in WPCode
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
Show 'NEW' Badges for Recently Added Items in WooCommerce
This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…
Blog filter
Add a filter for blogs
Convert Customers to Users
Adds a tool to create user accounts for customers that don't already have them, and update…
WP Simple Pay: Use Payment Form Description as Payment Description
Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…
Copyright Year Shortcode
Add shortcode to automatically update the copyright year. [year]
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Remove Donor Count From Specific Campaign
Hide the campaign donor count from a specific campaign, using the campaign ID.
Display WPForm Entries
This PHP code allows you to display form data stored by WPForms using a shortcode. The…
Auto Complete Offline Donations
Automatically mark all offline donations as Paid.
Replace Add to Cart with Download
If the user has purcahsed the product already, show a links to download each file associated…
WP Simple Pay: Copy Payment Metadata to Customer Metadata
Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.
Prevent AIOSEO From Rewriting Term Title
This snippet can be used to prevent AIOSEO from rewriting term titles.