WordPress at a glance
function is not described

woocommerce_product_archive_description() WC 1.0

Show a shop page description on product archives.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_product_archive_description();

Code of woocommerce_product_archive_description() WC 5.3.0

<?php
function woocommerce_product_archive_description() {
	// Don't display the description on search results page.
	if ( is_search() ) {
		return;
	}

	if ( is_post_type_archive( 'product' ) && in_array( absint( get_query_var( 'paged' ) ), array( 0, 1 ), true ) ) {
		$shop_page = get_post( wc_get_page_id( 'shop' ) );
		if ( $shop_page ) {
			$description = wc_format_content( wp_kses_post( $shop_page->post_content ) );
			if ( $description ) {
				echo '<div class="page-description">' . $description . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			}
		}
	}
}