Get a post id by URL with WP-CLI

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.

There is a command officially now:

This need was quite easy. An huge list of URLs, similar from this export but that case is from another tool.
I did a specific package for WP-CLI that it is possible to use also with other tools like python because is possible to export as JSON.
There is a big readme with all the examples and also how to install it on GitHub with a screen:

Liked it? Take a second to support Mte90 on Patreon!
Become a patron at Patreon!

Leave a Reply

Your email address will not be published. Required fields are marked *