municipio/wp-plugin-municipio-extended

WordPress plugin that adds more features to Municipio

Installs: 37

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:wordpress-plugin

pkg:composer/municipio/wp-plugin-municipio-extended

v25.x-dev 2025-11-18 17:13 UTC

This package is auto-updated.

Last update: 2025-11-24 10:26:53 UTC


README

A WordPress plugin that adds more features to Municipio

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.