mentosmenno2 / wp-cli-my-eyes-are-up-here
Makes My Eyes Are Up Here plugin compatible with WP-CLI
Installs: 75
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
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