| @@ -151,11 +151,8 @@ | ||
| 151 | 151 | if ( !\MakeCommerce::get_api() ) { |
| 152 | 152 | $this->loader->add_action( 'admin_notices', $api, 'api_info_missing' ); |
| 153 | 153 | } |
| 154 | 154 | |
| 155 | - //Add admin notice about Shipping+ | |
| 156 | - $this->loader->add_action( 'admin_notices', $api, 'shipping_api_notice' ); | |
| 157 | - | |
| 158 | 155 | //if API type is updated then refresh the cache |
| 159 | 156 | $this->loader->add_action( 'update_option_mk_api_type', $api, 'mk_delete_api_cache' ); |
| 160 | 157 | |
| 161 | 158 | //add API access menu in woocommerce->settings->advanced (_api version is for WC <= 3.4.0) |
| @@ -178,15 +175,8 @@ | ||
| 178 | 175 | //adds settings link to plugins page |
| 179 | 176 | $this->loader->add_filter( 'plugin_action_links_makecommerce/makecommerce.php', $api, 'add_plugin_settings_link' ); |
| 180 | 177 | |
| 181 | 178 | $this->loader->add_filter( 'woocommerce_admin_field_api_javascript_ui', $api, 'api_javascript_ui' ); |
| 182 | - | |
| 183 | - // Shipping plus confirmation page in Admin panel and related hooks to it | |
| 184 | - $this->loader->add_action('admin_enqueue_scripts', $api, 'enqueue_shipping_plus_assets'); | |
| 185 | - $this->loader->add_action('admin_menu', $api, 'add_shipping_plus_admin_page'); | |
| 186 | - $this->loader->add_action( 'admin_head', $api, 'remove_shipping_confirm_menu', 15 ); | |
| 187 | - $this->loader->add_action( 'admin_head', $api, 'hide_shipping_admin_notices' ); | |
| 188 | - $this->loader->add_action( 'admin_init', $api, 'save_shipping_plus_confirmation' ); | |
| 189 | 179 | } |
| 190 | 180 | |
| 191 | 181 | /** |
| 192 | 182 | * Register all of the hooks related to the public-facing functionality |