Skip to content

WP-CLI community command to add a `wp post permalink` command to list post permalinks

Notifications You must be signed in to change notification settings

superhuit-agency/wp-cli-post-permalink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-cli-post-permalink

Post permalink community package for WP-CLI.

Command added

NAME

wp post permalink

DESCRIPTION

Implements post permalink command, to list the post permalink.

SYNOPSIS

wp post permalink <id>... [--format=<format>]

EXAMPLES

$ wp post permalink 3114 3040
+------+--------------------------------------+
| ID   | permalink                            |
+------+--------------------------------------+
| 3114 | https://www.example.com/hello-world/ |
| 3040 | https://www.example.com/hello-mars/  |
+------+--------------------------------------+

$ wp post permalink 3114 3040 --format=csv
ID,permalink
3114,https://www.example.com/hello-world/
3040,https://www.example.com/hello-mars/

About

WP-CLI community command to add a `wp post permalink` command to list post permalinks

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages