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
1680
WP-CLI - Install Plugin
Bash
0
0
1444
WP-CLI - List Installed Plugins
Bash
0
0
1657
WP-CLI - Update Plugin
Bash
0
1
1297
WP-CLI - Import and Export Database
Bash
0
0
1414
WP-CLI - Search and Replace Text in the Database
Bash
0
0
1358
WP-CLI - List Rewrite Rules
Bash
0
0
1466
WP-CLI - List All Posts
Bash
0
0
1283
WP-CLI - Regenerate All Thumbnails
Bash
0
0
4624
WP-CLI - Interactive PHP Console
Bash
0
0
1440
WP-CLI - Execute Arbitrary PHP Code
Bash
0
0
1857
WP-CLI - Basic Info
Bash
0
0
1290
WP-CLI - Custom Command
PHP
0
0
2028
WP-CLI - Interactive MySQL Console
Bash
0
0
1258
Bash WP-CLI - Import WordPress Test Data
Bash
0
0
1483
WordPress - MySQL Database Export & WP-CLI Import
Bash
0
0
1840
WP-CLI - Force sudo command
Bash
0
0
1708
Install WP-CLI
Bash
0
0
1295
WP-CLI - List Theme Status of All Sites on a Multisite
Bash
0
0
1314
WP-CLI - Update
Bash
0
2
1316
WP-CLI - Install and Activate multiple plugins
Bash
2
2
2289
WP-CLI - Call Internal Command from PHP
PHP
0
0
1507
Bash - Use ApacheBench to measure the performance of HTTP web servers
Bash
0
8
8097
Bash - CURL a POST with custom UserAgent and follow redirects
Bash
0
6
1903
PHP - Set DateTimeZone of DateTime
PHP
0
4
1480
WP-CLI - Download Wordpress, install, and configure it
Bash
0
3
1454
WP-CLI - Run command as a given WordPress user
Bash
0
1
1332
WP-CLI - Run a command command against multiple sites on WordPress multisite
Bash
0
8
1439
WP-CLI - Update all plugins
Bash
0
1
1356
Bash WP-CLI - Update All Plugins in all grepped Aliases
Bash
0
9
1803
Bash WP-CLI - Prompt to update all plugins on each alias
Bash
0
2
1295
Bash WP-CLI - Update all plugins in @all Aliases
Bash
0
2
1377
Bash WP-CLI - Generate a task list of all WP-CLI commands
Bash
0
1
1780
Bash WP-CLI - Change user password
Bash
0
1
1339
Bash WP-CLI - Set admin user's role to subscriber across all aliases
Bash
0
5
1281
WP-CLI - List All Roles
Bash
0
1
1262
WP-CLI - Detect whether WP-CLI is running
Apache
0
10
1462
WP-CLI - Export GZip Compressed Database
Bash
0
8
3851
WP-CLI - Import GZip Compressed Database
Bash
0
7
3355
WP-CLI - List the MySQL database tables
Bash
0
3
1383
WP-CLI - Export GZip Compressed Database For Single Site
Bash
0
1
1358
Bash WP-CLI - Sort site list alphabetically
Bash
1
5
1362
WP-CLI - Update core, all themes and all plugins
Bash
0
2
1401
WP-CLI - Update one option on multiple sites using xargs
Bash
0
1
1427
WP-CLI - Re-generate all thumbnails that have IDs between 1000 and 2000
Bash
0
4
1386
WP-CLI - Flush rewrite rules for all sites
Bash
0
6
1609