• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / WC_Tax_Rate_Importer::import_error() – Show import error and quit.

You appear to be a bot. Output may be restricted

Description

Show import error and quit.

Usage

WC_Tax_Rate_Importer::import_error( $message );

Parameters

$message
( string ) optional – Error message.

Returns

void

Source

File name: woocommerce/includes/admin/importers/class-wc-tax-rate-importer.php
Lines:

1 to 9 of 9
  private function import_error( $message = '' ) {
    echo '<p><strong>' . esc_html__( 'Sorry, there has been an error.', 'woocommerce' ) . '</strong><br />';
    if ( $message ) {
      echo esc_html( $message );
    }
    echo '</p>';
    $this->footer();
    die();
  }
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 6th April 2020

Primary Sidebar

Information

Function name: WC_Tax_Rate_Importer::import_error
Class ref: WC_Tax_Rate_Importer
Plugin ref: WooCommerce
Version: 4.8.0
Sourcefile: includes/admin/importers/class-wc-tax-rate-importer.php
File ref: includes/admin/importers/class-wc-tax-rate-importer.php
Deprecated?: No
API Letters: I,R,T,W

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites