Query Jetpack Plugins
<QueryJetpackPlugins /> is a React component used in managing network requests for Jetpack plugins.
Usage
Render the component, passing siteIds. It does not accept any children, nor does it render any elements to the page. You can use it adjacent to other sibling components which make use of the fetched data made available through the global application state.
Props
siteIds
| Type | Array |
|---|---|
| Required | Yes |
The array of site IDs for which Jetpack plugins should be requested.