These are chat archives for WP-API/node-wpapi

7th
Mar 2017
sunpietro
@sunpietro
Mar 07 2017 21:06
hi, I'm wondering how can I get posts of specific type? I tried WPAPI.posts().param('post_type', 'sp_player').then(callback) but it returns an empty array. I have 12 posts of that type.