/** * Deletes a key from a group in all namespaces * @param string $group Group to delete a key from. * @param string $key Hash based ID provided by XDE * @return none */ public static function deleteAll($group, $key) { $option = get_option('x_demo_importer_registry', array()); $namespaces = array_keys($option); foreach ($namespaces as $namespace) { $registry = new X_Demo_Import_Registry(); $registry->setNameSpace($namespace); $registry->delete($group, $key); } }