An easy way to manage all your website custom settings.
ConfigPress is a development tool with the main intent to avoid any hard-coding and give an easy and flexible interface to manage all your website custom settings (options).
With ConfigPress you can define your own custom option or group of options and retrieve them in your code by simply calling ConfigPress::get(‘option_name’) method. This way you do not have to hard-code any sensitive or environment specific options in your custom code.
For more information check ConfigPress Reference
ConfigPress is based on INI configuration format. Define your custom options or group of options and get them in your code with ConfigPress::get(‘option_name’) method.
The section appears on a line by itself, in square brackets ([ and ]) and is used to group options. In order to get an option in a section call ConfigPress::get(‘section_name.option_name’) method.