How to get all posts from Wordpress REST API?

Asked

Viewed 40 times

2

per_page returns posts in the range from 1 to 100, but needed to return 500. How to get all posts from the Wordpress REST API?

  • 1

    The @Raphael Nikson response did not solve your problem?

1 answer

0

if you use &filter[posts_per_page]=-1 you return all..

Browser other questions tagged

You are not signed in. Login or sign up in order to post.