WordPress at a glance
function is not described

wc_kses_notice() WC 3.5.0

Filters out the same tags as wp_kses_post, but allows tabindex for <a> element.

Hooks from the function
Return

String. Nothing.

Usage

wc_kses_notice( $message );
$message(string) (required)
Content to filter through kses.

Changelog

Since 3.5.0 Introduced.

Code of wc_kses_notice() WC 5.3.0

<?php
function wc_kses_notice( $message ) {
	$allowed_tags = array_replace_recursive(
		wp_kses_allowed_html( 'post' ),
		array(
			'a' => array(
				'tabindex' => true,
			),
		)
	);

	/**
	 * Kses notice allowed tags.
	 *
	 * @since 3.9.0
	 * @param array[]|string $allowed_tags An array of allowed HTML elements and attributes, or a context name such as 'post'.
	 */
	return wp_kses( $message, apply_filters( 'woocommerce_kses_notice_allowed_tags', $allowed_tags ) );
}