Files
wp-agentic-writer/uninstall.php

21 lines
620 B
PHP

<?php
/**
* Uninstall plugin
*
* This file is kept for backward compatibility but the main uninstall
* logic is now handled via register_uninstall_hook() in wp-agentic-writer.php.
* The uninstall function there handles all cleanup tasks.
*
* @package WP_Agentic_Writer
*/
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Delegate to main uninstall function.
// The actual cleanup is now in wp_agentic_writer_uninstall() in wp-agentic-writer.php.
// This file exists for WordPress plugin directory compatibility.
if ( function_exists( 'wp_agentic_writer_uninstall' ) ) {
wp_agentic_writer_uninstall();
}