Filter: dt_authorized_sites

apply_filters( 'dt_authorized_sites', $authorized_sites, $context ) → {array}

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.3.7 Added the `$context` parameter.
Source:
Tutorials:
Returns:

An array of WP_Site objects and the post type objects.

Type
array