Skip to content

electricbamboo/snippits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WP CLI Plugin Installer

So I got tired of being handed X # of new sites and having to manually install all the same plugins across of them.

  1. Create your plugins.txt file. Each plugin needs to be the wp-cli name (what you get when you go
    wp @yoursitealias plugin list
    
    One per line! Ex:
    iwp-client
    wordfence
    really-simple-ssl
    stop-spammer-registrations-plugin
    litespeed-cache
    
  2. Make sure you give the .sh file execute permissions
    chmod +x plugin_installer.sh
    
  3. Go nuts: ./plugin_installer /path/to/plugins.txt yoursitealias

About

Mass install plugins, if they don't exist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published