mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Merge pull request #214 from jessertaylor/master
Fixed deactivation hook in plugin_name.php
This commit is contained in:
commit
d5bb3c526f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivat
|
||||||
register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) );
|
register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) );
|
||||||
|
|
||||||
/** This action is documented in includes/class-plugin-name-deactivator.php */
|
/** This action is documented in includes/class-plugin-name-deactivator.php */
|
||||||
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|
register_deactivation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The core plugin class that is used to define internationalization,
|
* The core plugin class that is used to define internationalization,
|
||||||
|
|
Loading…
Reference in a new issue