function is_rest_api_enabled() { return apply_filters('rest_enabled', true) && apply_filters('rest_jsonp_enabled', true) && apply_filters('rest_authentication_errors', true); }