mentosmenno2/wp-cli-my-eyes-are-up-here

There is no license information available for the latest version (v1.0.1) of this package.

Makes My Eyes Are Up Here plugin compatible with WP-CLI

v1.0.1 2021-08-11 19:13 UTC

This package is auto-updated.

Last update: 2024-11-12 02:18:09 UTC


README

Makes the My Eyes Are Up Here plugin compatible with WP-CLI

This package implements the fix created in Pull Request #22 of the My Eyes Are Up Here repository, as the original repository seems to have been abandoned.

Installation

This package is available on Packagist.

Preparation

Before installation, make sure mu-plugins required with composer are installed in the mu-plugins directory. Please add the following to the root of your composer.json file. Make sure the installer path is set to the right mu-plugins path, calculated from the location of your composer.json file.

"extra": {
    "installer-paths": {
        "../../mu-plugins/{$name}": [
            "type:wordpress-muplugin"
        ]
    }
}

As an alternative, you can also set the installer path for just this plugin.

"extra": {
    "installer-paths": {
        "../../mu-plugins/{$name}": [
            "mentosmenno2/wp-cli-my-eyes-are-up-here"
        ]
    }
}

Require the package

After making sure you're prepared for the installation, require the package using Composer.

composer require mentosmenno2/wp-cli-my-eyes-are-up-here

Usage

You can now use the WP CLI media regenrate command to regenerate your images, and have them be cropped by My Eyes Are Up Here.

wp media regenerate