When working with custom tables in WordPress, we need to have a way to clean the database if the users decide to delete our plugin or we need it ourselves. In this tutorial, we’ll use the same installer class from previous tutorials and update it with new methods.
Read MoreWorking with Custom Tables in WordPress – Meta Tables
WordPress has an API when working with custom meta tables but you have to follow the rules. We’ll cover what has to be done for those functions to work with your custom meta tables.
Read MoreWorking with Custom Tables in WordPress – Installing and Updating
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 MoreWorking with Custom Tables in WordPress – Introduction
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
.
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 More