REST API Shopping Cart Endpoint for EDD
Adds a REST API endpoint that returns the current user's shopping cart.
Meta Pixel - AddToCart Event
Meta Pixel - AddToCart Event
Disable Update Notifications
Disable all wordpress update notifications
Send Sale Alerts From Customer Email
Sets the From address of New Sale alert emails to the customer's email address
what代码
Grandfather Renewal Rate
Allows a custom renewal discount to be set for customers who purchased before a custom date
AffiliateWP - Admin Notification for Vanity Coupon Code Requests
Sends an admin email notification whenever an affiliate submits a valid vanity coupon code change request…
AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description
Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…
Download Archive Purchase Buttons
Output purchase button below the full content on download archive pages.
WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
Disable comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Restrict WordPress Admin Access by Country
Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…