PHP Class EP_Uninstaller

Exibir arquivo Open project: 10up/elasticpress

Public Methods

Method Description
__construct ( ) : EP_Uninstaller Initialize uninstaller

Protected Methods

Method Description
clean_options ( ) : void Cleanup options
exit_uninstaller ( ) : void Exit uninstaller

Method Details

__construct() public method

Perform some checks to make sure plugin can/should be uninstalled
Since: 1.7
public __construct ( ) : EP_Uninstaller
return EP_Uninstaller

clean_options() protected static method

Deletes ElasticPress options and transients.
Since: 1.7
protected static clean_options ( ) : void
return void

exit_uninstaller() protected method

Gracefully exit the uninstaller if we should not be here
Since: 1.7
protected exit_uninstaller ( ) : void
return void