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



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


Since: Jetpack 8.7.0


Have a note to contribute?

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

You are commenting using your 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