apply_filters ( 'wpcom_api_site_roles', array $roles )

Filter for curating the list of roles available for a wpcom site.

Source file: json-endpoints/class.wpcom-json-api-list-roles-endpoint.php

View in GitHub

Parameters

$roles

(array) List of role objects available to the site.


Changelog

Since: Jetpack 8.7.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s