Auto register guests that purchase

function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…

Carla Mawyin
<10

Disable WooCommerce widgets on vendor store pages

/** * Remove widgets from the vendor store and single product pages conditionally. * * You…

MemberPress: WooCommerce - Show Protected Products on the Shop Page

If we protect products using Rules, they won’t show in the Shop page. To change this…

MemberPress: Change Membership Registration URL

Each MemberPress Membership has an automatically generated registration page with its default URL. This code snippet…

om-reactv3.js

// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…

WPCode Functions

For the WPCode plugin interface

Woocommerce: How to add minimum amount for different categories with different amount per category with different notice.

WooCommerce: Display Minimum Order Amount Notices by Category This code snippet adds functionality to your WooCommerce…

Submission Form Redirect

Filter the redirect URL for successful FES Submission Form submission

MemberPress: Remove all but one country from the drop-down

Removes all the countries for the drop-down list on the account and registration pages and leaves…

Custom WooCommerce Status

This is how to create a custom Woocommerce Status while being able to use the "Mark…

Add Rel Nofollow to Top Bar Social Links

We don't recommend it but if you want to add a nofollow attribute to your top…

Using an Office 365 GCC or DoD email address

For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…

1 49 50 51 52 53 226