Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
WP-CLI
46
snippets by
Jesse Graupmann
WP-CLI - List Installed Themes
Bash
0
0
1830
WP-CLI - Install Plugin
Bash
0
0
1547
WP-CLI - List Installed Plugins
Bash
0
0
1806
WP-CLI - Update Plugin
Bash
0
1
1406
WP-CLI - Import and Export Database
Bash
0
0
1525
WP-CLI - Search and Replace Text in the Database
Bash
0
0
1485
WP-CLI - List Rewrite Rules
Bash
0
0
1589
WP-CLI - List All Posts
Bash
0
0
1400
WP-CLI - Regenerate All Thumbnails
Bash
0
0
4824
WP-CLI - Interactive PHP Console
Bash
0
0
1554
WP-CLI - Execute Arbitrary PHP Code
Bash
0
0
2021
WP-CLI - Basic Info
Bash
0
0
1403
WP-CLI - Custom Command
PHP
0
0
2197
WP-CLI - Interactive MySQL Console
Bash
0
0
1360
Bash WP-CLI - Import WordPress Test Data
Bash
0
0
1584
WordPress - MySQL Database Export & WP-CLI Import
Bash
0
0
2002
WP-CLI - Force sudo command
Bash
0
0
1818
Install WP-CLI
Bash
0
0
1410
WP-CLI - List Theme Status of All Sites on a Multisite
Bash
0
0
1427
WP-CLI - Update
Bash
0
2
1433
WP-CLI - Install and Activate multiple plugins
Bash
2
2
2422
WP-CLI - Call Internal Command from PHP
PHP
0
0
1615
Bash - Use ApacheBench to measure the performance of HTTP web servers
Bash
0
8
8607
Bash - CURL a POST with custom UserAgent and follow redirects
Bash
0
6
2050
PHP - Set DateTimeZone of DateTime
PHP
0
4
1603
WP-CLI - Download Wordpress, install, and configure it
Bash
0
3
1574
WP-CLI - Run command as a given WordPress user
Bash
0
1
1439
WP-CLI - Run a command command against multiple sites on WordPress multisite
Bash
0
8
1557
WP-CLI - Update all plugins
Bash
0
1
1477
Bash WP-CLI - Update All Plugins in all grepped Aliases
Bash
0
9
1947
Bash WP-CLI - Prompt to update all plugins on each alias
Bash
0
2
1390
Bash WP-CLI - Update all plugins in @all Aliases
Bash
0
2
1484
Bash WP-CLI - Generate a task list of all WP-CLI commands
Bash
0
1
1892
Bash WP-CLI - Change user password
Bash
0
1
1455
Bash WP-CLI - Set admin user's role to subscriber across all aliases
Bash
0
5
1382
WP-CLI - List All Roles
Bash
0
1
1361
WP-CLI - Detect whether WP-CLI is running
Apache
0
10
1569
WP-CLI - Export GZip Compressed Database
Bash
0
8
4108
WP-CLI - Import GZip Compressed Database
Bash
0
7
3719
WP-CLI - List the MySQL database tables
Bash
0
3
1505
WP-CLI - Export GZip Compressed Database For Single Site
Bash
0
1
1494
Bash WP-CLI - Sort site list alphabetically
Bash
1
5
1482
WP-CLI - Update core, all themes and all plugins
Bash
0
2
1516
WP-CLI - Update one option on multiple sites using xargs
Bash
0
1
1544
WP-CLI - Re-generate all thumbnails that have IDs between 1000 and 2000
Bash
0
4
1517
WP-CLI - Flush rewrite rules for all sites
Bash
0
6
1727