Skip to content

Commit

Permalink
Small typo correction in how-to-create-custom-plugins.md
Browse files Browse the repository at this point in the history
  • Loading branch information
keyurptl committed Jul 2, 2024
1 parent 797bbde commit 998db26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions how-to-create-custom-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The main plugin file `wpcli-demo-plugin.php` is the starting point that we can u

Inside the main plugin file lets now reference the new post type we just created.

Open in your favourite text editor the file `wpcli-demo-plugin.php`
Open in your favorite text editor the file `wpcli-demo-plugin.php`
and under the line saying "your code starts here" add the following:

```
Expand All @@ -60,7 +60,7 @@ require('post-types/books.php');
### Step 4 - Activate the plugin

You can now use two wp-cli commands to check the list of plugins and activate your newly created plugin.
`wp plugin list` and `wp plugin activate`. The first command lists all plguins installed while the second
`wp plugin list` and `wp plugin activate`. The first command lists all plugins installed while the second
activates a given plugin.

```
Expand Down

0 comments on commit 998db26

Please sign in to comment.