When working on custom solutions or plugins in WordPress, custom tables can be a good solution because it will give you better performance than by using the default tables such as posts
or postmeta
.
Category: WordPress
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 MoreProgrammatically Upload and Unpack ZIP files in WordPress
ZIP Files are not allowed in WordPress by default but you might want to have a way to upload them and unpack them. For example, how WordPress uploads and unpacks plugin ZIP files.
Read More