1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-04-29 01:43:16 +03:00

Mention uninstall.php in code comment

This commit is contained in:
Barry 2013-09-12 17:58:52 +02:00
parent b8231ac64b
commit af2bd993ef

View file

@ -33,6 +33,7 @@ if ( ! defined( 'WPINC' ) ) {
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-name.php' );
// Register hooks that are fired when the plugin is activated or deactivated.
// When the plugin is deleted, the uninstall.php file is loaded.
// TODO: replace Plugin_Name with the name of the plugin defined in `class-plugin-name.php`
register_activation_hook( __FILE__, array( 'Plugin_Name', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Plugin_Name', 'deactivate' ) );