File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,13 @@ Use the Endpoint: '/wp-json/wp/v2/multiple-post-type'
1111
1212List: ` GET ` request to ` /wp-json/wp/v2/multiple-post-type ` .
1313
14- Get the page with slug "about-me": ` GET /wp-json/wp/v2/multiple-post-type?slug=about-me&type[]=posts&type[]=pages&type[]=articles&type[]=events ` .
14+ Get the page with slug "about-me":
1515
16- Search term "awesome": ` GET /wp-json/wp/v2/multiple-post-type?search=awesome&type[]=posts&type[]=pages&type[]=articles&type[]=events ` .
16+ ` GET /wp-json/wp/v2/multiple-post-type?slug=about-me&type[]=posts&type[]=pages&type[]=articles&type[]=events ` .
17+
18+ Search term "awesome":
19+
20+ ` GET /wp-json/wp/v2/multiple-post-type?search=awesome&type[]=posts&type[]=pages&type[]=articles&type[]=events ` .
1721
1822
1923## Credits
You can’t perform that action at this time.
0 commit comments