WP Manifestindependent plugin directory
manifest / updates / wp-upgrade-task-runner

Upgrade Task Runner

A WordPress plugin for developers to write custom migration tasks.

by Austin Passy · github.com/thefrosty/wp-upgrade-task-runner · website

4stars
18kcomposer installs
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/thefrosty/wp-upgrade-task-runner/archive/refs/heads/develop.zip

Also on Packagist as thefrosty/wp-upgrade-task-runner:

composer require thefrosty/wp-upgrade-task-runner

From the readme

WordPress Upgrade Task Runner Register custom migration tasks that can be triggered from a dashboard in the admin and run via AJAX. Requirements The required WordPress version will always be the most recent point release of the previous major release branch. For both PHP and WordPress requirements, although this library may work with a version below the required versions, they will not be supported and any compatibility is entirely coincidental. Installation To install this library, use Composer: Getting Started If a new task is needed, there are only two required steps that are needed. 1. A class needs to be created and this class needs to extend the AbstractTaskRunner class. See the ExampleMigrationTask example class. 2. Register the new task class via the TaskLoader::REGISTERTASKSTAG filter: The task class When a class is added, it needs to have a few pre-defined class values. Both the DATE and TITLE constant are required to be unique. These are what registers a one off cron task when manually running the task from the admin page. The TaskLoader Add the new class as a property in the TaskLoader class and instantiate it in the registertasks method (just like the Exam

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
2.8.0Mar 22, 2024
2.7.0Apr 18, 2023
2.6.0Mar 1, 2022
2.5.1Nov 2, 2021
2.5.0Nov 1, 2021
2.4.3Jan 4, 2021
2.4.0Dec 16, 2020
2.3.0Sep 25, 2020
2.2.1Aug 13, 2020
2.2.0Aug 11, 2020
2.1.2Apr 21, 2020
2.1.1Jan 31, 2020
2.1.0Jan 10, 2020
2.0.0Dec 4, 2019
1.3.0Nov 26, 2019
1.2.1Aug 1, 2019
1.2.0Mar 7, 2019
1.1.3Mar 7, 2019
1.1.2Mar 7, 2019
1.1.1Mar 7, 2019
1.1.0Mar 6, 2019