Skip to content

Commit 4e35ed5

Browse files
authored
Remove README example which does not require this plugin
The example in the readme can be better accomplished with `?slug=`, which is native WP.
1 parent d4ec6c6 commit 4e35ed5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@ previously using it.
99
## Usage
1010

1111
Use the `filter` parameter on any post endpoint such as `/wp/v2/posts` or `/wp/v2/pages` as an array of `WP_Query`
12-
argument like so:
13-
14-
```javascript
15-
fetch( 'https://example.com/wp-json/wp/v2/posts?filter[name]=the-slug');
16-
```
12+
argument.

0 commit comments

Comments
 (0)