vlw/wp
最新稳定版本:1.3.0
Composer 安装命令:
composer require vlw/wp
包简介
Stand-alone library for performing DML operations on a WordPress database and more
README 文档
README
This library is a collection of various tools for parsing and performing DML operations on a WordPress database and its content. It is meant to be used as a stand-alone library and does not require WordPress to be installed.
Installation
composer require vlw/wp
How to use
A variety of tools are available, refer to the documentation for each tool to see its usage instructions.
For example:
use vlw\WP\Posts\Post;
// Retrieve a new Post instance for post ID 1234
$post = new Post(1234);
// Retrieve the content for this post
$post->post_content;
// Update the datetime modified for this post
$post->post_modified = new DateTimeImmutable();
Plugins
This library also has support for the following plugins: Plugin|Versions|Reference --|--|-- Redirection|5.3.10 (limited support)|Plugins/redirection
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-02-12