sinfonie/wordpress_options_item
Composer 安装命令:
composer require sinfonie/wordpress_options_item
包简介
Library that allows you to save structured data based on the WordPress options saving mechanism.
README 文档
README
Library that allows you to save structured data based on the WordPress options saving mechanism.
- Saves data in the form of an array using the WordPress
network_optionsmechanism and creating anItemOption. - Each ItemOption is a specific table with records, imitating a database table.
- Each ItemOption entry has its own records:
- numeric key
id, - date added
date_added, - update date
date_updated, - user id who added
user_added, - user id who modified
user_updated.
- numeric key
- You can cascade delete entries from different ItemOptions. In this case, you must specify a reference to the appropriate record from another ItemOption.
- You can freely specify whether the ItemOptions record writes the
nullvalue.
Requirements
- PHP > 5.6.0
- Wordpress > 5.3.6
Installation
Install via composer:
composer require sinfonie/wordpress_options_item
Install via git over https:
git clone https://github.com/sinfonie/wordpress_options_item.git
manual download: https://github.com/sinfonie/wordpress_options_item/archive/master.zip
Configuration
Please remember to specify the appropriate path for the library in your project.
You can find simple implementaion in examples below:
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: none
- 更新时间: 2020-12-15