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

18 lines
333 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