Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 182186

Questions about the core RESTful HTTP API for accessing WP content and data.

1 vote
Accepted

How to use apiFetch to get author information in Gutenberg properly?

Finally, I found out how to do it. Just call fetchApi in componentDidMount and then create a new state in your component and add the response to this state when the request is done: constructor(props …
Aslan's user avatar
  • 55
0 votes
1 answer
2k views

How to use apiFetch to get author information in Gutenberg properly?

I'm trying to create author info block for posts. So I created a block and tried to use redux to get author info, but could get only author id: const applyWithSelect = withSelect( (select, props …
Aslan's user avatar
  • 55