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: ''


Top ↑

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();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.