There are situations when the URL (website) field from the comments form is just an unnecessary clutter, for example when your “audience” does not have a personal website. In cases like this, the best approach would be to remove the field altogether.
The built-in function woocommerce_customer_bought_product can be used to check if a user has bought an item.
These days I needed to extend the lifespan of the authentication cookie, and I thought I share with you how to do that. To make this change you need to apply a filter, so add the following snippet in functions.php:
As you may know, WordPress has introduced automatic updates since version 3.7. But I have to admit that I’m a control freak, meaning – in this case – that I prefer manual updates, made on my own terms when I want. There are a couple of ways in which to disable automatic updates. I’ll list them below.
Just a simple way to put your blog into maintenance mode without a plugin. Nothing more to say!