apply_filters ( 'jetpack_json_api_site_can_view_hosting', bool $view_hosting )

Filter whether the Hosting section in Calypso should be available for site.

Source file: sal/class.json-api-site-base.php

View in GitHub

Parameters

$view_hosting

(bool) Can site access Hosting section. Default to false.


Changelog

Since: Jetpack 8.2.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 )

Google photo

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