initialize(); } // return return $ShopWP; } } shopwp_bootstrap(); add_action( ‘after_plugin_row’, function($file, $plugin) { if ($file !== ‘wpshopify/shopwp.php’) { return; } echo ‘

‘ . __(‘Hey ShopWP users,’, ‘shopwp’) . ‘

‘ . __(‘If you wish to continue receiving updates, please ‘) . ‘‘ . __(‘upgrade to ShopWP Pro’, ‘shopwp’) . ‘

‘ . __(‘I\’ve made the tough decision to stop supporting the free version of ShopWP. It will continue working as expected, but no additional updates will be released.’) . ‘
‘ . __(‘I\’ll be focusing full-time on supporting ‘) . ‘ShopWP Pro‘ . __(‘ instead.’, ‘shopwp’) . ‘

‘ . __(‘Love you all.’, ‘shopwp’) . ‘
– Andrew

‘; }, 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’); });