Mastering Networking: A Simple Solution to Remember Your Contacts from Networking Events
The Networking Challenge We All FaceHave you ever bumped into someone at a networking event and drawn a complete blank about who they are? You're not alone. We're all hustling, attending various meetings and events, adding people on Social media. But let's be real,...
How to Detect if PHPUnit Tests are Running
PHPUnit is a Testing Framework written in PHP. It allows you to find glitches very early on and can save lots of time. It's highly recommend to use it for automated testing for a medium to large projects. Manual testing is just not enough. Why do you need to check if...
How to Find What WooCommerce Version you're Using
The WooCommerce plugin defines WC_VERSION php constant to tell which version it's currently at. If you want to check and do some actions if the version of the plugin is greater that X then you can do this. First check if the constant is defined and then use the php...
How to Mass Export WordPress Databases
As a WordPress developer you have lots of WordPress sites installed on your computer, you live or staging servers. Every WordPress site needs a folder to store its files and also a database to connect to to get and put contents to. For this reason it’s always good to...
How to Enable WooCommerce Product Revisions
I know. The WooCommerce Product Revisions are NOT enabled by default for products. They are very useful if for some reason you delete some text from the product’s description and want to restore from a previous version. WooCommerce uses a custom post type called...
PhpStorm Undo Delete Does Not Restore Ignored Folders and Files
The other day I pressed some shortcut while I was checking the left sidebar in PhpStorm and the IDE started deleting the WordPress site's htdocs folder I was working on. It was a local development copy so this didn't cause a site/server downtime at all. I was pretty...
How to Change Text and Background Colors of Order Failed Status in WooCommerce
As a shop manager you may want to see the WooCommerce order status in different colors on the orders page. This is how to change the text or background colors of the Order Failed Status in WooCommerce > Orders. You need to either add the following snippet to your...
How to Change Text and Background Colors of Order Refunded Status in WooCommerce
As a shop manager you may want to see the WooCommerce order status in different colors on the orders page. This is how to change the color of the Order Refunded Status in WooCommerce. You need to either add the following snippet to your (child) theme's functions.php...
How to Change Text and Background Colors of Order Cancelled Status in WooCommerce
As a shop manager you may want to see the WooCommerce order status in different colors on the orders page. This is how to change the color of the Order Cancelled Status in WooCommerce. You need to either add the following snippet to your (child) theme's functions.php...
How to Change Text and Background Colors of Order Pending Status in WooCommerce
As a shop manager you may want to see the WooCommerce order status in different colors on the orders page. This is how to change the color of the Order Pending Status in WooCommerce. You need to either add the following snippet to your (child) theme's functions.php...