You've already forked wp-fedistream
WP FediStream - Stream music over ActivityPub Features: - Custom post types: Artist, Album, Track, Playlist - Custom taxonomies: Genre, Mood, License - User roles: Artist, Label - Admin dashboard with statistics - Frontend templates and shortcodes - Audio player with queue management - ActivityPub integration with actor support - WooCommerce product types for albums/tracks - User library with favorites and history - Notification system (in-app and email) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
357 B
PHP
19 lines
357 B
PHP
<?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();
|
|
}
|