Jake Vanderwerf
2026-02-04 2127b1bdd73ecd2423e443992da4b442f5a3c1a3
inc/helpers/all.php
@@ -32,12 +32,14 @@
 */
function jvb_do_once():void
{
//    delete_option(BASE.'do_these_once');
    $options = get_option(BASE.'do_these_once', []);
    foreach ($options as $option => $callback) {
//        delete_option($option);
        if (!get_option($option, false)) {
         error_log('Calling do once: '.$option);
            $callback();
            update_option($option, true);
        }