Browsing hooks for feature: JSON API

    jetpack_api_include_comment_types_count

    hook (filter): Include certain comment types in comment counts in the REST API.<p>Note: the default array of comment types includes an empty string, to support comments posted before WP 5.5, that used an empty string as comment type.</p>

    Source: class.json-api.php:1051

    jetpack_pre_switch_theme

    hook (action): Trigger action before the switch theme happens.

    Source: json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php:59

    wpcom_api_site_roles

    hook (filter): Filter for curating the list of roles available for a wpcom site.

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

    jetpack_json_api_site_can_view_hosting

    hook (filter): Filter whether the Hosting section in Calypso should be available for site.

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

    a8c_disable_full_site_editing

    hook (filter): Allow disabling Full Site Editing, even when the FSE plugin is active.

    Source: sal/class.json-api-site-jetpack.php:214

    rest_api_thumbnail_size_urls

    hook (filter): Filter the thumbnail URLs for attachment files.

    Source: class.json-api-endpoints.php:1617

    jetpack_api_exclude_comment_types_count

    hook (filter): Exclude certain comment types from comment counts in the REST API.

    Source: class.json-api.php:1031

    jetpack_site_automated_transfer

    hook (filter): Filter if a site is an automated-transfer site.

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

    jetpack_site_pending_automated_transfer

    hook (filter): Filter if a site is in pending automated transfer state.

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

    rest_api_site_icon_cleared

    hook (filter): Fallback mechanism to clear a third party site icon setting. Can be used to unset the option when an API request instructs the site to remove the site icon.

    Source: json-endpoints/class.wpcom-json-api-site-settings-endpoint.php:887