wp-cli / handbook

📖 Complete documentation for WP-CLI
https://make.wordpress.org/cli/handbook/
MIT License
188 stars 328 forks source link

Adding examples for updating multiple posts #393

Closed RafaelFunchal closed 2 years ago

RafaelFunchal commented 2 years ago

Besides post delete has examples of working with multiple posts at the same time, it was not clear that post update could do the same.

schlessera commented 2 years ago

Thanks for the PR, @RafaelFunchal !

However, you've modified a document that is being generated out of the source files. To add the above examples, they'll need to be added to source code at https://github.com/wp-cli/entity-command/blob/c30f2509ad64883dcb3a796e993fb1b6f84513b8/src/Post_Command.php#L318-L326

RafaelFunchal commented 2 years ago

Ops, Sorry! Thanks for pointing me to the right file, @schlessera .

I will update the correct file and send a new PR.

RafaelFunchal commented 2 years ago

I'm adding the link to the PR editing the correct file. just to close the loop. Thank you again <3