Dotenv file in custom plugin
Question
I want to create some hidden settings that only a developer can change. For this purpose, I would like to have a .env file in my wordpress plugin. How do I read the settings from .env file in my plugin classes.
Is there any other way I can have hidden settings in my plugin?
Thanks
0
4 months
2022-01-18T19:16:46-05:00
2022-01-18T19:16:46-05:00 0 Answers
0 views
0
Leave an answer