Files

13 lines
410 B
PHP
Raw Permalink Normal View History

<?php
/**
* Runs when the plugin is deleted from the Plugins screen.
*
* Always removes the scheduled event and cached transients. Deletes donations, goals and settings only if the
* owner enabled "delete data on uninstall" in StreamGoals > Settings > Advanced.
*/
defined( 'WP_UNINSTALL_PLUGIN' ) || exit;
require_once __DIR__ . '/includes/Core/Uninstaller.php';
\StreamGoals\Core\Uninstaller::run();