Jake Vanderwerf
2026-05-01 48721c85ebcfa973ee81719d2467ca80e4253dc9
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
   ];
}