remove activation hook as its redundant
This commit is contained in:
parent
1314e7e142
commit
cc244ce103
|
@ -191,7 +191,6 @@ final class WooCommerce {
|
|||
*/
|
||||
private function init_hooks() {
|
||||
register_activation_hook( WC_PLUGIN_FILE, array( 'WC_Install', 'install' ) );
|
||||
register_activation_hook( WC_PLUGIN_FILE, array( $this, 'add_woocommerce_inbox_variant' ) );
|
||||
register_shutdown_function( array( $this, 'log_errors' ) );
|
||||
|
||||
add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ), -1 );
|
||||
|
|
Loading…
Reference in New Issue