WordPress at Your Fingertips
function is not described

wc_generator_tag() WC 1.0

Output generator tag to aid debugging.

No Hooks.

Return

String.

Usage

wc_generator_tag( $gen, $type );
$gen(string) (required)
Generator.
$type(string) (required)
Type.

Code of wc_generator_tag() WC 5.7.0

function wc_generator_tag( $gen, $type ) {
	$version = Constants::get_constant( 'WC_VERSION' );

	switch ( $type ) {
		case 'html':
			$gen .= "\n" . '<meta name="generator" content="WooCommerce ' . esc_attr( $version ) . '">';
			break;
		case 'xhtml':
			$gen .= "\n" . '<meta name="generator" content="WooCommerce ' . esc_attr( $version ) . '" />';
			break;
	}
	return $gen;
}