<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mike Kipruto</title>
    <description>The latest articles on DEV Community by Mike Kipruto (@kipmyk).</description>
    <link>https://dev.to/kipmyk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F57542%2F1e94feba-6ab1-4b29-a844-d455df1402ea.jpg</url>
      <title>DEV Community: Mike Kipruto</title>
      <link>https://dev.to/kipmyk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kipmyk"/>
    <language>en</language>
    <item>
      <title>WP CLI Commands</title>
      <dc:creator>Mike Kipruto</dc:creator>
      <pubDate>Wed, 17 May 2023 12:40:50 +0000</pubDate>
      <link>https://dev.to/kipmyk/wp-cli-commands-2hcm</link>
      <guid>https://dev.to/kipmyk/wp-cli-commands-2hcm</guid>
      <description>&lt;p&gt;This is a list of the WP CLI commands. As I test it out, I am updating the lists here.&lt;/p&gt;

&lt;h2&gt;
  
  
  WP Core 
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://developer.wordpress.org/cli/commands/core/"&gt;&lt;code&gt;wp core&lt;/code&gt;&lt;/a&gt; command helps to download, install, update, and manage WordPress installation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Delete the core updater lock option
&lt;/h2&gt;

&lt;p&gt;wp option delete core_updater.lock&lt;/p&gt;

&lt;h2&gt;
  
  
  Update WordPress to Specific version forcefully
&lt;/h2&gt;

&lt;p&gt;wp core update --version= --force&lt;/p&gt;

&lt;p&gt;For example : &lt;code&gt;wp core update --version=6.1.1 --force&lt;/code&gt;, this will update to the WP 6.1.1&lt;/p&gt;

&lt;h2&gt;
  
  
  Display the WordPress version
&lt;/h2&gt;

&lt;p&gt;wp core version&lt;/p&gt;

&lt;h2&gt;
  
  
  Checks for WordPress updates via Version Check API.
&lt;/h2&gt;

&lt;p&gt;wp core check-update&lt;/p&gt;

&lt;h2&gt;
  
  
  Update the WordPress database
&lt;/h2&gt;

&lt;p&gt;wp core update-db&lt;/p&gt;

&lt;h2&gt;
  
  
  wp theme 
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://developer.wordpress.org/cli/commands/theme/"&gt;&lt;code&gt;wp theme&lt;/code&gt;&lt;/a&gt; helps in managing themes, including installs, activations, and updates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Update multiple default themes from wordpress.org
&lt;/h2&gt;

&lt;p&gt;wp theme update twentynineteen twentytwenty twentytwentyone twentytwentytwo twentytwentythree&lt;/p&gt;

&lt;h2&gt;
  
  
  Delete older default themes
&lt;/h2&gt;

&lt;p&gt;wp theme delete twentysixteen twentyseventeen&lt;/p&gt;

&lt;h2&gt;
  
  
  Update all themes
&lt;/h2&gt;

&lt;p&gt;wp theme update --all&lt;/p&gt;

&lt;h2&gt;
  
  
  Install the new default theme
&lt;/h2&gt;

&lt;p&gt;wp theme install twentytwentyone&lt;/p&gt;

&lt;h2&gt;
  
  
  wp theme search
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://developer.wordpress.org/cli/commands/theme/search/"&gt;&lt;code&gt;wp theme search&lt;/code&gt;&lt;/a&gt; searches the WordPress.org theme directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;wp theme search photo --per-page=6&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  wp theme get
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://developer.wordpress.org/cli/commands/theme/get/"&gt;&lt;code&gt;wp theme get&lt;/code&gt;&lt;/a&gt; Gets details about a theme.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;wp theme get twentytwentythree --fields=name,title,version&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/kipmyk/WP-CLI-Commands"&gt;WP CLI Commands&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
