WC_Admin_Notices::base_tables_missing_notice()public staticWC 1.0

Notice about base tables missing.

Method of the class: WC_Admin_Notices{}

Return

null. Nothing (null).

Usage

$result = WC_Admin_Notices::base_tables_missing_notice();

WC_Admin_Notices::base_tables_missing_notice() code WC 9.0.1

public static function base_tables_missing_notice() {
	$notice_dismissed = apply_filters(
		'woocommerce_hide_base_tables_missing_nag',
		get_user_meta( get_current_user_id(), 'dismissed_base_tables_missing_notice', true )
	);
	if ( $notice_dismissed ) {
		self::remove_notice( 'base_tables_missing' );
	}

	include __DIR__ . '/views/html-notice-base-table-missing.php';
}