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
1852
WP-CLI - Install Plugin
Bash
0
0
1562
WP-CLI - List Installed Plugins
Bash
0
0
1831
WP-CLI - Update Plugin
Bash
0
1
1421
WP-CLI - Import and Export Database
Bash
0
0
1539
WP-CLI - Search and Replace Text in the Database
Bash
0
0
1498
WP-CLI - List Rewrite Rules
Bash
0
0
1609
WP-CLI - List All Posts
Bash
0
0
1418
WP-CLI - Regenerate All Thumbnails
Bash
0
0
4847
WP-CLI - Interactive PHP Console
Bash
0
0
1573
WP-CLI - Execute Arbitrary PHP Code
Bash
0
0
2040
WP-CLI - Basic Info
Bash
0
0
1423
WP-CLI - Custom Command
PHP
0
0
2225
WP-CLI - Interactive MySQL Console
Bash
0
0
1376
Bash WP-CLI - Import WordPress Test Data
Bash
0
0
1598
WordPress - MySQL Database Export & WP-CLI Import
Bash
0
0
2026
WP-CLI - Force sudo command
Bash
0
0
1835
Install WP-CLI
Bash
0
0
1427
WP-CLI - List Theme Status of All Sites on a Multisite
Bash
0
0
1442
WP-CLI - Update
Bash
0
2
1450
WP-CLI - Install and Activate multiple plugins
Bash
2
2
2437
WP-CLI - Call Internal Command from PHP
PHP
0
0
1630
Bash - Use ApacheBench to measure the performance of HTTP web servers
Bash
0
8
8683
Bash - CURL a POST with custom UserAgent and follow redirects
Bash
0
6
2070
PHP - Set DateTimeZone of DateTime
PHP
0
4
1618
WP-CLI - Download Wordpress, install, and configure it
Bash
0
3
1596
WP-CLI - Run command as a given WordPress user
Bash
0
1
1460
WP-CLI - Run a command command against multiple sites on WordPress multisite
Bash
0
8
1577
WP-CLI - Update all plugins
Bash
0
1
1492
Bash WP-CLI - Update All Plugins in all grepped Aliases
Bash
0
9
1969
Bash WP-CLI - Prompt to update all plugins on each alias
Bash
0
2
1412
Bash WP-CLI - Update all plugins in @all Aliases
Bash
0
2
1501
Bash WP-CLI - Generate a task list of all WP-CLI commands
Bash
0
1
1908
Bash WP-CLI - Change user password
Bash
0
1
1470
Bash WP-CLI - Set admin user's role to subscriber across all aliases
Bash
0
5
1398
WP-CLI - List All Roles
Bash
0
1
1377
WP-CLI - Detect whether WP-CLI is running
Apache
0
10
1585
WP-CLI - Export GZip Compressed Database
Bash
0
8
4144
WP-CLI - Import GZip Compressed Database
Bash
0
7
3767
WP-CLI - List the MySQL database tables
Bash
0
3
1523
WP-CLI - Export GZip Compressed Database For Single Site
Bash
0
1
1513
Bash WP-CLI - Sort site list alphabetically
Bash
1
5
1501
WP-CLI - Update core, all themes and all plugins
Bash
0
2
1534
WP-CLI - Update one option on multiple sites using xargs
Bash
0
1
1555
WP-CLI - Re-generate all thumbnails that have IDs between 1000 and 2000
Bash
0
4
1532
WP-CLI - Flush rewrite rules for all sites
Bash
0
6
1745