Inpsyde\MultilingualPress\Module\NetworkOptionModuleManager::unregister_module PHP Method

unregister_module() public method

Unregisters the module with the given.
Since: 3.0.0
public unregister_module ( string $id ) : Module[]
$id string Module ID.
return Module[] Array of all registered module objects.
    public function unregister_module($id)
    {
        unset($this->modules[$id]);
        unset($this->states[$id]);
        return $this->modules;
    }