跳到内容

wp-IniFileLoad

v1.1.1

Masarki Kondo · 2008年2月29日 上架

wp-IniFileLoad is a simple plug-in. This plug in offers functions to load necessary common data from IniFile in your WordPress.

正在使用
10+
评分
暂无
累计下载
1,719
最近更新
2008年4月11日
需要 WordPress 2.1+已测试到 2.0

贡献者

wp-IniFileLoad is a simple plug-in.
This plug in offers functions to load necessary common data from IniFile in your WordPress.
The result is returned an associative array for.

IniFile Format

  1. The structure of the ini file is the same as the php.ini’s.
  2. The result is returned an associative array for.(eg. sample01.ini)
  3. Section “data” and “function” are defined as a special section.(eg. sample03.ini)
  4. Section “data” is put in a “data” key.(eg. sample01.ini)
  5. You can put a space between two names in a section name (exclude “function”). When you wrote the section name, it is parsed to a double associative arrays.(eg. sample02.ini)
  6. When there is a “function” section, with a lambda function defined with a value, the result is converted.(eg. sample03.ini)
  7. The section except “data” and “function” is put in an “option” key.(eg. sample01.ini)

History

ver. 1.0

2008.02.23
first version.

ver. 1.1

2008.03.12
INI data came to have cache. And I added function wp_clear_inidata and wp_reload_inifile.

ver. 1.1.1

2008.04.11
I did not limit a double associative array to a “data” section.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums