megumi/wp-disable-upgrade-notice

0.2.0 2015-03-07 07:47 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:43:27 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

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