WooCommerce already allows to bulk change default order statuses. But what if you registered your own custom order status and now you would like to add it to bulk actions on the orders page.
In this tutorial — custom text and HTML restriction by a user membership plan. Conditional checks for custom post types and taxonomies. Code only.
Let’s get all the data of installed payment gateways and currently selected gateway data from user sessions.
In this post we will work mostly with «wc_order_statuses» filter hook that allows to add, remove or change order of WooCommerce statuses.
WooCommerce Memberships: How to allow viewing all front end restricted content to any user or by a user role.
In this tutorial I will show you how WC Memberships restrictions work. We will create a functions.php filter that allows to view all restricted content to any user.