megumi / wp-disable-upgrade-notice
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:Shell
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-12-21 17:43:27 UTC
README
Composer library for Disabling upgrade notice.
How to use
Place a plugin into mu-plugins
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 a composer.json
Create and place a composer.json into muplugins/
.
{
"name": "megumi/mu-plugins",
"authors": [
{
"name": "John Smith",
"email": "john@example.com"
}
],
"require": {
"megumi/wp-disable-upgrade-notice": "*"
}
}
Install libraries
Then run a composer
command.
$ composer install
How to update libraries
$ composer update
How to development
$ git clone git@github.com:megumi/wp-disable-upgrade-notice.git
$ cd wp-disable-upgrade-notice
$ composer install
Running a PHPUnit
After you run a composer install
, then run phpunit
.
$ phpunit