Browsing hooks for feature: JSON API

    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:643

    jetpack_format_theme_details

    hook (filter): Filter the array of theme information that will be returned per theme by the Jetpack theme APIs.

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

    jetpack_wpcom_theme_install

    hook (filter): Filters whether to use an alternative process for installing a WordPress.com theme.<p>The alternative process can be executed during the filter.</p> <p>The filter can also return an instance of WP_Error; in which case the endpoint response will contain this error.</p>

    Source: json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php:33

    jetpack_wpcom_theme_skip_download

    hook (filter): Filters whether to skip the standard method of downloading and validating a WordPress.com theme. An alternative method of WPCom theme download and validation can be executed during the filter.<p>The filter can also return an instance of WP_Error; in which case the endpoint response will contain this error.</p>

    Source: json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php:104

    jetpack_wpcom_theme_delete

    hook (filter): Filters whether to use an alternative process for deleting a WordPress.com theme.<p>The alternative process can be executed during the filter.</p> <p>The filter can also return an instance of WP_Error; in which case the endpoint response will contain this error.</p>

    Source: json-endpoints/jetpack/class.jetpack-json-api-themes-delete-endpoint.php:40

    sites_site_format

    hook (filter): Filter the structure of information about the site to return.

    Source: json-endpoints/class.wpcom-json-api-get-site-endpoint.php:200

    site_settings_endpoint_update_key

    hook (filter): Filter current site setting value to be updated.

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

    site_settings_site_format

    hook (filter): Filter the structure of site settings to return.

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

    site_settings_endpoint_get

    hook (filter): Filter the current site setting in the returned response.

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

    jetpack_supported_media_sideload_types

    hook (filter): Filter the list of supported mime types for media sideloading.

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