• filter

    jetpack_photon_any_extension_for_domain

    Allow Photon to use query strings as well. By default, Photon doesn’t support query strings so we ignore them and look only at the path. This setting is Photon Server dependent.

  • action

    restapi_theme_init

    Fires functions hooked onto `init` by the theme for the purpose of the REST API. The REST API does not load the theme when processing requests. To enable theme-based functionality, the API will load the ‘/functions.php’, ‘/inc/jetpack.compat.php’, ‘/inc/jetpack.php’, ‘/includes/jetpack.compat.php files of the theme (parent and child) and copy functions hooked onto ‘init’ within those files.