Guest User

Untitled

a guest
Jul 11th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. wp admin
  2. Open /wp-admin/ in a browser.
  3.  
  4. wp cache
  5. Adds, removes, fetches, and flushes the WP Object Cache object.
  6.  
  7. wp cap
  8. Adds, removes, and lists capabilities of a user role.
  9.  
  10. wp cli
  11. Review current WP-CLI info, check for updates, or see defined aliases.
  12.  
  13. wp comment
  14. Creates, updates, deletes, and moderates comments.
  15.  
  16. wp config
  17. Generates and reads the wp-config.php file.
  18.  
  19. wp core
  20. Downloads, installs, updates, and manages a WordPress installation.
  21.  
  22. wp cron
  23. Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.
  24.  
  25. wp db
  26. Performs basic database operations using credentials stored in wp-config.php.
  27.  
  28. wp dist-archive
  29. Create a distribution archive based on a project’s .distignore file.
  30.  
  31. wp embed
  32. Inspects oEmbed providers, clears embed cache, and more.
  33.  
  34. wp eval
  35. Executes arbitrary PHP code.
  36.  
  37. wp eval-file
  38. Loads and executes a PHP file.
  39.  
  40. wp export
  41. Exports WordPress content to a WXR file.
  42.  
  43. wp find
  44. Find WordPress installations on the filesystem.
  45.  
  46. wp help
  47. Get help on WP-CLI, or on a specific command.
  48.  
  49. wp import
  50. Imports content from a given WXR file.
  51.  
  52. wp language
  53. Installs, activates, and manages language packs.
  54.  
  55. wp media
  56. Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
  57.  
  58. wp menu
  59. Lists, creates, assigns, and deletes the active theme’s navigation menus.
  60.  
  61. wp network
  62. Perform network-wide operations.
  63.  
  64. wp option
  65. Retrieves and sets site options, including plugin and WordPress settings.
  66.  
  67. wp package
  68. Lists, installs, and removes WP-CLI packages.
  69.  
  70. wp plugin
  71. Manages plugins, including installs, activations, and updates.
  72. wp plugin delete akismet
  73.  
  74. wp post
  75. Manages posts, content, and meta.
  76.  
  77. wp post-type
  78. Retrieves details on the site’s registered post types.
  79.  
  80. wp profile
  81. wp rewrite
  82. Lists or flushes the site’s rewrite rules, updates the permalink structure.
  83.  
  84. wp role
  85. Manages user roles, including creating new roles and resetting to defaults.
  86.  
  87. wp scaffold
  88. Generates code for post types, taxonomies, plugins, child themes, etc.
  89.  
  90. wp search-replace
  91. Searches/replaces strings in the database.
  92.  
  93. wp server
  94. Launches PHP’s built-in web server for a specific WordPress installation.
  95.  
  96. wp shell
  97. Opens an interactive PHP console for running and testing PHP code.
  98.  
  99. wp sidebar
  100. Lists registered sidebars.
  101.  
  102. wp site
  103. Creates, deletes, empties, moderates, and lists one or more sites on a multisite installation.
  104.  
  105. wp super-admin
  106. Lists, adds, or removes super admin users on a multisite installation.
  107.  
  108. wp taxonomy
  109. Retrieves information about registered taxonomies.
  110.  
  111. wp term
  112. Manages taxonomy terms and term meta, with create, delete, and list commands.
  113.  
  114. wp theme
  115. Manages themes, including installs, activations, and updates.
  116.  
  117. wp transient
  118. Adds, gets, and deletes entries in the WordPress Transient Cache.
  119.  
  120. wp user
  121. Manages users, along with their roles, capabilities, and meta.
  122.  
  123. wp widget
  124. Manages widgets, including adding and moving them within sidebars.
Add Comment
Please, Sign In to add comment