mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
Removes reference to register_uninstall_hook from code comment
Perhaps mention uninstall.php in stead? ``` // Register hooks that are fired when the plugin is activated or deactivated. // When the plugin is deleted, the uninstall.php file is loaded. ```
This commit is contained in:
parent
895240626a
commit
b8231ac64b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|||
// TODO: replace `class-plugin-name.php` with the name of the actual plugin's class file
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-name.php' );
|
||||
|
||||
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
|
||||
// Register hooks that are fired when the plugin is activated or deactivated.
|
||||
// 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