Support » Plugin: Sermon Manager » wpfc_preacher endpoint returning only 10 preachers

  • Resolved rowan84



    I’ve been busy implementing some automation using your plugin, and I must first say, it’s great. However part of the automation is getting the meta data such as preachers, and series etc. When I call the following endpoint I only get the first 10 preachers, but we have more.


    Is there a reason for this?

Viewing 1 replies (of 1 total)
  • Sorry found the answer. the wordpress api by default returns 10. But I can add the per_page parameter. If I add the parameter per_page=100 it will return up to 100. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘wpfc_preacher endpoint returning only 10 preachers’ is closed to new replies.