
內容簡介
ConfigPress 是一個開發工具,旨在避免任何編碼硬編碼,並提供一個易於管理所有網站自定義設置(選項)的彈性界面。
使用 ConfigPress,您可以定義您自己的自定義選項或選項組,並通過簡單地調用 ConfigPress::get('option_name') 方法在您的代碼中檢索它們。這樣,您就不必在自定義代碼中編寫任何敏感或環境特定的選項。
有關更多信息,請參閱ConfigPress 參考資料
外掛標籤
開發者團隊
原文外掛簡介
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
