Allows to alter job checkout workflow after the default behavior.
$redirects: List of redirects the user is supposed to be redirected to.
$jobs: Array with the translation jobs to be checked out.
function hook_tmgmt_job_checkout_after_alter(&$redirects, &$jobs) {
// Redirect to custom multi-checkout form if there are multple redirects.
if (count($redirects) > 2) {
$redirects = array(
'/my/custom/checkout/form/' . implode(',', array_keys($jobs)),
);
}
}