Closed jmdodd closed 1 year ago
Hi @jmdodd, This PR looks great already, thank you for that! To merge the code, we will need to add Behat test cases for it, though. Are you up for adding these needed test cases?
I'll learn how. :)
Proceeding with https://github.com/wp-cli/wp-cli/issues/5594 for this repository. I've captured this PR to https://gist.github.com/danielbachhuber/d474a1506fdc61d157184049890f2cbd in case this PR is auto-closed or broken in some way.
This is a potential solution for https://github.com/wp-cli/export-command/issues/76.
The default behavior is to include all before_posts sections. The --include_once parameter allows certain optional sections to be included only in the first file of a multifile export.