Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Allow Other WordPress Roles to Manage Email Logs
This snippet will allow you to manage the capabilities of roles allowed to manage the site's…
Change the Email Summary Email Address
This snippet will allow you to specify who the email summaries should be delivered to. On…
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
Google Ads
Google Ads
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Company Field on Receipt
Outputs the "Company" on the payment receipt.
Required Fields
Modify the required fields for checkout.
Show more Landings
Display more
cookie consent script
Cookie Consent by Free Privacy Policy Generator Update cookies preferences
Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…