function test_uninstall_deletes_option() { $option = 'c2c_allow_multiple_accounts'; c2c_AllowMultipleAccounts::get_instance()->get_options(); $this->assertNotFalse(get_option($option)); c2c_AllowMultipleAccounts::uninstall(); $this->assertFalse(get_option($option)); }
function c2c_has_multiple_accounts($email) { return c2c_AllowMultipleAccounts::get_instance()->has_multiple_accounts($email); }