Join

Autocomplete WooCommerce Orders

This snippet will automatically complete orders for all virtual/downloadable products. For MyListing websites, orders placed under a Listing Package are considered a virtual product, and

Sort Users by Registration Date

By default, WordPress doesn’t provide a Registration Date column, let alone make it sortable. This snippet makes it possible to remove plugins like Admin Columns

MyListing Club Logo
Code Snippets

WooCommerce Redirect After Checkout

This snippet is commonly used when website owners want to show customers a welcome page after checkout. Welcome pages are great ways to educate customers,

WooCommerce Redirect After Registration

Out of the box, WooCommerce redirects users to their Dashboard (i.e., My Account), which may not be desirable for website owners. Adjust the ‘$redirect =

Unlock the Listings Post Type

The Unlock the Listings Post Type code snippet allows for greater flexibility within a MyListing website by exposing this otherwise private post type. One example

Show Content Based On Role

There are two code snippets required here. Be sure to grab the CSS code snippet as well. Add Body Class For All User Roles to WordPress

mylisting club default resource image
Code Snippets

Remove Fields from WooCommerce Checkout

By default, any line that starts with ‘unset’ will remove the corresponding field. Remove each line, starting with ‘unset,’ for any field you wish to

Reassign Listing Slugs In Bulk

Let’s say you built a MyListing website that’s been rolling along with a Listing Type named ‘Gyms.’ Now, you’ve decided to rename ‘Gyms’ to ‘Clubs.’