Files
wp-fedistream/uninstall.php
T

19 lines
357 B
PHP
Raw Normal View History

2026-01-28 23:23:05 +01:00
<?php
/**
* Uninstall WP FediStream.
*
* @package WP_FediStream
*/
// If uninstall not called from WordPress, exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Load autoloader.
$autoloader = __DIR__ . '/vendor/autoload.php';
if ( file_exists( $autoloader ) ) {
require_once $autoloader;
\WP_FediStream\Installer::uninstall();
}