Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_Tax_Rate_Importer::import_error( string $message = '' )
Show import error and quit.
Description Description
Parameters Parameters
- $message
-
(Optional) Error message.
Default value: ''
Source Source
File: includes/admin/importers/class-wc-tax-rate-importer.php
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(); }