Jake Vanderwerf
2026-04-26 86c6cd3cc099d2480932ede03c12cea01e625c94
inc/helpers/all.php
@@ -57,3 +57,12 @@
        update_option(BASE.'do_these_once', $options);
    }
}
function jvbResponse(bool $success, ?string $msg = null):array
{
   return [
      'success'   => $success,
      'message'   => is_null($msg) ? ($success ? 'Completed successfully' : 'Something went wrong') : $msg
   ];
}