By default function
wp_safe_redirect() allows to redirect only to the same domain which is presented as a
home_url(). But in some cases you may want to extend it with let’s say subdomains and in this tutorial I will provide a ready snippet for that.
In this tutorial I will show you some simple PHP code examples which allow to add a product or a product variation to the cart in WooCommerce.
If you ever tried to remove WordPress comments in admin dashboard, you know that comments are moved to trash asynchronously. In this tutorial I will show how to do the same for custom post types.
Today I received a email from my client where he mentioned that he is unable to login to the members area on my website with his email which contains “+” symbol.
I already have a couple tips on my blog about “fixing Gutenberg”, for example I already mentioned that you have to double check that REST API is not disabled and in this guide I show what to do if Inserter Dialog is not available. But recently I faced with another issue.
It is the last tutorial about WooCommerce product tabs, let me show how to change the content of the default product tabs or add something custom there.
At the beginning of 2018 I visited WordCamp Oslo and I was so much inspired by it, so my dream was to organize something similar in the city I love, Saint Petersburg.
In this tutorial you will learn not only how to create a custom tab on WooCommerce single product pages but also how to display it only for specific product types or products.
Let’s figure out how to set your custom order for product tabs on single product pages and how to select a tab you want to be opened by default.
Why do you think I decided to create a separate tutorial about renaming product tabs? 🤔 Because everything is not as simple as it seems, especially when we are talking about the Reviews tab.
In this tutorial I will show you different ways how you can hide any of default tabs on single product pages. Without plugins and CSS of course 👍
It is just a tiny thing but sometimes it can confuse your website customers. Because by default when you change the product quantity in WooCommerce cart, the cart won’t be updated until you smash the Update cart button.
WooCommerce has 4 different filter hooks which allow to manage the address fields, let’s figure out when and how to use each of them.