Pro Tip: Create A Migration Function For WordPress Theme Updates
If you’re in the business of WordPress theme development and find your self change options and settings regularly, you’re customers are going to hate you; IF you don’t implement some kind of migration strategy.
If you’re in the business of WordPress theme development and find your self changing options on regular basis, your customers are going to hate you. That is of course if you aren’t implementing some kind of migration strategy. I’ve recently overhauled my customizer framework which resulted in many options being thrown in the trash, which will also result in many customers being angry. Here’s a quick and dirty snippet of code that you can use to make your customers not rage whenever you chop or change a setting in your WordPress theme.