Composer library for Disabling upgrade notice.
Place a plugins into mu-plugins like following.
<?php
/*
Plugin Name: mu-plugin for example.com
*/
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
That's it!
Create and place a composer.json into muplugins/
.
{
"name": "megumi/mu-plugins",
"authors": [
{
"name": "John Smith",
"email": "[email protected]"
}
],
"require": {
"megumi/wp-disable-upgrade-notice": "*"
}
}
Then run a composer
command.
$ composer install
$ composer update
$ git clone [email protected]:megumi/wp-disable-upgrade-notice.git
$ cd wp-disable-upgrade-notice
$ composer install
After you run a composer install
, then run phpunit
.
$ phpunit