Filter: dt_authorized_sites
Filter the array of authorized sites.
Parameters
| Name | Type | Description |
|---|---|---|
| $authorized_sites | array | An array of WP_Site objects and the post type objects the user can edit. |
| $context | string | The context of the authorization. |
Since
- 1.2
- 1.3.7: Added the
$contextparameter.
Source
Defined in includes/classes/InternalConnections/NetworkSiteConnection.php at line 852
Returns
An array of WP_Site objects and the post type objects.