How to get posts using ReST API?

How can I get WP Child posts from WP Main Dashboard?

Hey @fe18ea0de7

This is not currently supported with our REST API.

Please feel free to make a suggestion about it on our feedback site. That way, others can vote for it, letting us know which features our users want the most.

1 Like

@fe18ea0de7 As @bojan has mentioned this is not currently a supported EndPoint within our API, however you may still return a list of Posts from your Child Sites via the MainWP Code Snippets Extension. Simply fire this snippet off & it will return an Array of ALL posts.

Learn more about this WP Method here in the community notes: get_posts() | Function | WordPress Developer Resources

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.