woocommerce_template_single_excerpt() │ WC 1.0

Output the product short description (excerpt).

Хуков нет.

Возвращает

void. Ничего (null).

Использование

woocommerce_template_single_excerpt();

Код woocommerce_template_single_excerpt() WC 11.2.2

function woocommerce_template_single_excerpt() {
	if ( ! isset( $GLOBALS['post']->post_excerpt ) ) {
		return;
	}

	wc_get_template( 'single-product/short-description.php' );
}