How can I set theme slug

I am developing a self hosted update system for my custom theme and plugins. I am looking to use the theme slug / plugin slug to check against a list of current version data. The issue I run into is that if the customer renames the theme folder and stylesheet information at time of installation the slug changes.

Is there anything I can do to force a specific theme slug during time of installation or include in functions.php

I am using get_option(‘template’) to pull the data. Is it possible to update the option or would cause issues?

Read more here:: How can I set theme slug

Leave a Reply

Your email address will not be published. Required fields are marked *