Jake Vanderwerf
2026-02-10 8fc64daf7e18234717cac6c2736cb860e8ea8b97
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);
        }