Jake Vanderwerf
2026-04-15 c4aa5cdb5e90ad4b420e22772797d16980232a2b
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
   ];
}