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