Zapier_Provider::modify_rest_api_params_before_validation( TribeEventsProIntegrationsEvent_AutomatorWP_REST_Response|TribeEventsProIntegrationsEvent_AutomatorWP_Error $response, TribeEventsProIntegrationsEvent_AutomatorWP_REST_Server $server, TribeEventsProIntegrationsEvent_AutomatorWP_REST_Request $request )
Modifies REST API comma seperated parameters before validation.
Contents
Parameters
- $response
-
(TribeEventsProIntegrationsEvent_AutomatorWP_REST_Response|TribeEventsProIntegrationsEvent_AutomatorWP_Error) (Required) Response to replace the requested version with. Can be anything a normal endpoint can return, or a WP_Error if replacing the response with an error.
- $server
-
(TribeEventsProIntegrationsEvent_AutomatorWP_REST_Server) (Required) ResponseHandler instance (usually WP_REST_Server).
- $request
-
(TribeEventsProIntegrationsEvent_AutomatorWP_REST_Request) (Required) Request used to generate the response.
Return
(TribeEventsProIntegrationsEvent_AutomatorWP_REST_Response|TribeEventsProIntegrationsEvent_AutomatorWP_Error) The response.
Source
File: src/Tribe/Integrations/Event_Automator/Zapier_Provider.php
public function modify_rest_api_params_before_validation( $response, $server, $request ) {
return $this->container->make( Create_Events::class )->modify_rest_api_params_before_validation( $response, $server, $request );
}
Changelog
| Version | Description |
|---|---|
| 7.0.1 | Migrated from Common to Events Calendar Pro |
| 6.0.0 | Introduced. |