Translate Products
Code required to translate the word "Products".
User Switching
Easily switch to a Customer when using the User Switching plugin
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Modify LLMS Title for a Specific Post
This snippet modifies the title shown in llms.txt and llms-full.txt for a specific post ID.
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.
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
Re-route BuddyPress emails through WP Mail SMTP
This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…
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.
Show more Landings
Display more
Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…