Action - gk/foundation/ajax/after
Fires after the Ajax call is processed successfully. Does not fire when the route throws or the /result filter transforms the response into an Exception or WP_Error.
Fires after the Ajax call is processed successfully. Does not fire when the route throws or the /result filter transforms the response into an Exception or WP_Error.
Fires before the Ajax call is processed.
Fires after the REST API route is processed.
Fires before the REST API route is processed.
Modifies Ajax call result. Listeners can transform the response, including converting a success to an error or vice versa. Receives the raw Exception or WP_Error when the route failed.
Modifies the REST API route response.
Modifies REST routes object.