How create post using WP-CLI at time of network site create. I am creating network sites using WP-CLI.
I have tried:

wp post create --post_type=page --post_title='ABC' --post_status=publish --network

But it creates post on main site. But, I want to create that post on network site which was created that time.

Thanks in advance.
Any reference will be helpful.

Read more here: How to create post in WP network using WP-CLI


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: