1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-04-29 01:43:16 +03: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:
Barry Ceelen 2013-09-12 01:42:07 +02:00
parent 895240626a
commit b8231ac64b

View file

@ -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' ) );