WP Simple Pay: Custom Webhook Handling Example

An example of handling the `coupon.updated` webhook event. For a full list of available events see:…

WP Simple Pay: Add Custom Field Data to Customer Metadata

Retrieve the value of a custom field and add it as metadata to the Stripe Customer…

Variable Pricing Dropdown

Convert variable prices from radio buttons to a dropdown

Prevent Duplicate Cart Items

Prevents the same item from being added to the cart multiple times.

Disable Wordpress image compression

// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…

On Add to Cart Event in WooCommerce

Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…

RT7 Official - Maintenance Mode

RT7 Official Maintenance Mode

<10

class DeleteUploadedFiles {}

The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…

<10

Add Country

Add Kosovo to the list of countries in Charitable.

Adding a Custom Filter when using Other SMTP Setting

This snippet will help in troubleshooting steps from "SMTP Error: Could not authenticate".

WP Simple Pay: Add Email Address to Payment Confirmation URL

Append the submitted email address to the payment confirmation page URL.

Featured Images of the Current User’s All Active Memberships

This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…

Send Notifications On User Registration

/** * Notify admin and user when a user registers with Charitable. * * @param array[]…

Button - Add to cart to Buy Now

add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…

Carla Mawyin
<10

Continue Shopping Button

Adds a "Continue Shopping" button to the left of the Update/Save Cart buttons on checkout.

1 35 36 37 38 39 216