Installing and updating custom tables in WordPress is done within the same function so you don’t have to worry about writing altering queries. In this tutorial, we will create a class that will help us work with installing and updating our own custom tables in WordPress.
Read MoreCategory: PHP
How to Control WooCommerce Assets
WooCommerce has a lot of styles and scripts that it enqueues. Their asset managers are also full of hooks so if you have your own WooCommerce related styles, you could hook into those and be sure they are loaded when needed.
Read MoreHow to Hide or Show Content by User Meta
When working on some sites, you might want to hide or show content in your articles based on user meta.
Read MoreAdding useful interactive prompts in your WP_CLI commands
I like WP_CLI and how it can improve your development and management of sites. I sometimes even use it to create a new WordPress site locally. But what if you work on your own custom WP_CLI commands and want them more interactive?
Read More