Options::delete_group( 'foo' ); would delete all foo__* option names
public static function delete_group($prefix) { if (substr($prefix, -2) != '__') { $prefix .= '__'; } foreach (array_keys(self::instance()->options) as $key) { if (strpos($key, $prefix) === 0) { Options::delete($key); } } }