1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2025-04-19 05:35:36 +03:00

Moved uninstall placeholder from hook to uninstall.php

This commit is contained in:
Japh 2013-03-05 16:24:35 +11:00
parent 4f1cd0cbbf
commit 816e16c59f
2 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,10 @@
<?php
/**
* Fired when the plugin is uninstalled.
*/
//if uninstall not called from WordPress exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) )
exit ();
// TODO: Define uninstall functionality here