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