initialize();
}
// return
return $ShopWP;
}
}
shopwp_bootstrap();
add_action( ‘after_plugin_row’, function($file, $plugin) {
if ($file !== ‘wpshopify/shopwp.php’) {
return;
}
echo ‘
‘;
}, 10, 2 );
/*
Adds hooks which run on both plugin activation and deactivation.
The actions here are added during Activator->init() and Deactivator-init().
*/
register_activation_hook(__FILE__, function ($network_wide) {
do_action(‘shopwp_on_plugin_activate’, $network_wide);
});
register_deactivation_hook(__FILE__, function () {
do_action(‘shopwp_on_plugin_deactivate’);
});