mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
Mention uninstall.php in code comment
This commit is contained in:
parent
b8231ac64b
commit
af2bd993ef
1 changed files with 1 additions and 0 deletions
|
@ -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' ) );
|
||||
|
|
Loading…
Reference in a new issue