If you’re working with bundled products in Easy Digital Downloads, you’ll notice it’s not easy. It’s actually hard and not performant at all. Making them fast requires custom code and a custom table.
Read MoreCategory: PHP
Using a Recursive Function to Format Flat Arrays
Some systems will give you flat arrays with their children and parent. I worked with Notion API and they do that as well. So in this tutorial, I’ll show a simple recursive function that can work to create a deep array with children and parents arrays.
Read MoreHow to create a Simple WordPress Language Switcher
When working with Multilingual WordPress site, you’ll need a Language Switcher as well. In this tutorial, we’ll create a WordPress Language Switcher which can work with any translation plugin.
Read MoreWorking with Custom Tables in WordPress – Deleting Tables
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 More