MemberPress: Manually Refresh Member Data

This code snippet is designed to manually refresh all members' data on a WordPress site. After…

Add Donation Receipt Opt Out Checkbox

In this function we register a new donation field with a key of `receipt_opt_out`. If the…

Blog filter

Add a filter for blogs

MemberPress: Prevent users from auto-login after registration

The code snippet is designed to disable the auto-login feature for users who register for a…

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…

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.

Hide the Email Test Menu Item in Settings

This snippet will hide the 'Email Test' tab from your WP Mail SMTP settings menu.

Prevent Duplicate Purchases

Prevents logged-in customers from purchasing an item twice.

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.

Defining General Settings Constants

Every constant in this section can be used for any mailer because they’re not specific to…

1 … 45 46 47 48 49 … 241