1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-01 19:03:15 +03:00
WordPress-Plugin-Boilerplate/plugin-name/uninstall.php

18 lines
331 B
PHP

<?php
/**
* Fired when the plugin is uninstalled.
*
* @package PluginName
* @author TODO
* @license GPL-2.0+
* @link TODO
* @version 1.0.0
* @since 1.0.0
*/
// If uninstall, not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// TODO: Define uninstall functionality here