Skip to content

apsolut-archive/decom-wp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

decom wp cli

icon of windows icon of awesome

https://developer.wordpress.org/cli/commands/

List of things

Regenerate thumbnails

wp media regenerate --yes - this will regenerate all thumbnails (sizes)

Empty things:

wp site empty --yes - this will remove all posts, pages, media and comments

Plugins

wp plugin activate PLUGINNAME

wp plugin deactivate --all - this will deactivate all plugins

wp plugin delete PLUGINNAME

Themes

wp theme activate wp theme list

Search and Replace

wp search-replace 'http://TEST.xyz' 'https://TEST.com' --skip-columns=guid

To Explore

wp --skip-plugins

wp --prompt

wp --post create --from-post=123

wp plugin deactivate --all

About

Decom useful wp cli commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published