municipio/wp-plugin-municipio-extended
最新稳定版本:2025.12.0
Composer 安装命令:
composer require municipio/wp-plugin-municipio-extended
包简介
WordPress plugin that adds more features to Municipio
README 文档
README
This plugin is part of Municipio LTS.
Development
To build assets (CSS and JS) and watch for changes, run pnpm dev
Migrations
This plugin provides a way to add code that does one-time updates to the
database. These updates are called "migrations". To create a migration, add a
new PHP file to the migrations directory.
To prevent PHP timeouts for long-running migrations, you can call the
mx_migration_breakpoint function in your code at points where a graceful halt
is possible. The file must be able to be run multiple times without issues.
Status of the migrations can be viewed under Tools -> Migrations in WP Admin. If you have the Activity Log plugin activated, changes in status will also be logged there.
Additional logging can be added manually in the migration’s file by calling
mx_migration_progress_log.
See /migrations/replace-mod-files1.php for an example.
统计信息
- 总下载量: 137
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-11-18