function tb_set_options($options) { $args = array('global_variable' => 'tb_options', 'opt_name' => 'tb_options'); $ReduxFramework = new ReduxFramework(array(), $args); $ReduxFramework->set_options($options); }