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 ]; }