diff --git a/plugin-boilerplate/uninstall.php b/plugin-boilerplate/uninstall.php index 37927e9..26715fe 100644 --- a/plugin-boilerplate/uninstall.php +++ b/plugin-boilerplate/uninstall.php @@ -2,13 +2,17 @@ /** * Fired when the plugin is uninstalled. * - * @package PluginName - * @since 1.0.0 + * @package PluginName + * @author TODO + * @license GPL-2.0+ + * @link TODO + * @version 1.0.0 + * @since 1.0.0 */ -// If uninstall, not called from WordPress exit +// If uninstall, not called from WordPress, then exit if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit(); } -// TODO: Define uninstall functionality here \ No newline at end of file +// TODO: Define uninstall functionality here \ No newline at end of file