MemberPress: Display Corporate Account Logo for Sub-Users

This code snippet allows the custom logo to be displayed as the parent corporate account’s logo…

Allow Manual Donations Without Email

Allow donors to be be added without an email address.

Replace Add to Cart With Download for Subscribers

If the user is recurring or has purchased the product already, shows a link to download…

Hide the Email Test Menu Item in Settings

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

Remove Donor Count From Specific Campaign

Hide the campaign donor count from a specific campaign, using the campaign ID.

Defining General Settings Constants

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

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.

ai content idea generator

function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…

MemberPress: Display User's Course Progress in MemberPress Courses

The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…

Set Default Highlight Colour

/** * NOTE: This snippet will not work in versions of Charitable prior to 1.2. *…

Add FES Vendor Dashboard Tab

Add a new tab to the Frontend Submissions vendor dashboard menu.

1 … 46 47 48 49 50 … 241