
WooCommerce Redirect After Login
By default, WooCommerce redirects users to their Dashboard (i.e., My Account), which may not be desirable for website owners. Adjust the website URL on Line

By default, WooCommerce redirects users to their Dashboard (i.e., My Account), which may not be desirable for website owners. Adjust the website URL on Line

If you use WooCommerce Subscriptions, it may append /day, /month, etc., to the price. This snippet uses the opacity setting to make that text transparent.

This code snippet will help speed up MyListing websites that don’t need map services.

This snippet will add a 5% surcharge to the customer’s cart, but you can change the 0.05 value on Line 8 as desired.

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
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,

This snippet is useful when you want to hide particular actions (Promote, Edit, Stats, Delete, etc.) from the Listing Cards found under the /my-account/my-listings/ endpoint.

This code snippet is useful for those who just want to show the days remaining before an event starts.

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 =

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

In the example, we set the default role to Subscriber, but you can set your desired role by changing “subscriber” on line 4 to the

By default, any line below that starts with unset will remove the corresponding field. Remove or comment out the line for any any field you

By default, MyListing does not use the Featured Image portion of the Listing, so Listing owners cannot add their own Featured Image from the front

Those who use the default MyListing Add Listing flow will notice the Listing Type boxes flip on hover. This code snippet is for those who

Add one or both CSS snippets to your website and the relevant CSS class (‘hide-from-logged-out’ or ‘hide-from-logged-in’) to any elements you wish to hide. For

This snippet redirects to a custom page once a listing is submitted and after waiting 3 seconds. Customization Notes

This code snippet adds a Select Role dropdown to the WooCommerce orders table.

This code snippet adds a custom URL field to WooCommerce products that you can use to specify a unique redirection based on the product purchased.

For this specific example, the user is asked to enter a special offer code. If the field is empty, a custom error is shown. If

This code snippet is versatile, providing the ability to assign coupons when various links are used. The key thing to note when looking at this

WordPress blocks SVG uploads by default, so you end up converting images to a different format to get around “file type not allowed” errors. The