Skip to content

Commit 1f4bc9d

Browse files
authored
Merge pull request #54 from Cobolt77/master
Update README.md to add custom postType
2 parents c7f4f49 + 0edd254 commit 1f4bc9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Future<List<wp.Post>> posts = wordPress.fetchPosts(
7474
fetchAuthor: true,
7575
fetchFeaturedMedia: true,
7676
fetchComments: true,
77+
postType: 'post'
7778
);
7879
```
7980

0 commit comments

Comments
 (0)