sts-create-new-ticket-errors

/**
* Filter if an error occured during the process.
*
* @since 1.0.0
*
* @param (bool)     error = false
* @param (array)     post data
* @return (mixed)     false or wp_error object
*/

You can hook into the ticket create process and define, whether an error occured. This filter contains all post data. If no error occured, you should return false otherwise a WP Error Object with more information describing the error. This filter is used by sts_action_ticket_create()