How to retrieve text only from a post using WP CLI?
I have the post ids and urls. I need to extract the post content make some modifications and update again. I have more than 2,000 posts hence I would like to do it using WP CLI and not manually. Can I know how do I do that?
EDIT : I need to take the entire text and -
- change the fonts. Remove some html tags.
- add some internal links.
- Append with a link to our facebook and twitter page.
- Include a Ad code.
For all posts
Topic wp-cli command-line content Wordpress
Category Web