[wordpress插件] ConfigPressConfigPress

wordpress 插件 文章 2020-03-30 08:40 540 0 全屏看文

AI助手支持GPT4.0

评分
74
描述

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).

ConfigPress是一种开发工具,其主要目的是避免进行任何硬编码,并提供简单灵活的界面来管理所有网站自定义设置(选项)。

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.

使用ConfigPress,您可以定义自己的自定义选项或选项组,并只需调用ConfigPress :: get('option_name')方法即可在代码中检索它们。

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参考

安装步骤

    1. Upload “configpress” folder to the “/wp-content/plugins” directory
    2. 将“ configpress”文件夹上载到“ / wp-content / plugins”目录

    3. Activate the plugin through the “Plugins” menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. ConfigPress can be found under Settings menu
    6. ConfigPress可以在“设置”菜单下找到

下载地址
https://downloads.wordpress.org/plugin/configpress.0.3.zip
-EOF-

AI助手支持GPT4.0