WordPress at a glance
function is not described

wc_help_tip() WC 2.5.0

Display a WooCommerce help tip.

No Hooks.

Return

String. Nothing.

Usage

wc_help_tip( $tip, $allow_html );
$tip(string) (required)
Help tip text.
$allow_html(true|false)
Allow sanitized HTML if true or escape.

Changelog

Since 2.5.0 Introduced.

Code of wc_help_tip() WC 5.3.0

<?php
function wc_help_tip( $tip, $allow_html = false ) {
	if ( $allow_html ) {
		$tip = wc_sanitize_tooltip( $tip );
	} else {
		$tip = esc_attr( $tip );
	}

	return '<span class="woocommerce-help-tip" data-tip="' . $tip . '"></span>';
}