woocommerce_archive_description хук-событиеWC 1.0

Hook: woocommerce_archive_description.

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

add_action( 'woocommerce_archive_description', 'wp_kama_woocommerce_archive_description_action' );

/**
 * Function for `woocommerce_archive_description` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_archive_description_action(){

	// action...
}

Где вызывается хук

ClassicTemplate::render_archive_product()
woocommerce_archive_description
woocommerce_content()
woocommerce_archive_description
woocommerce/templates/archive-product.php 44
do_action( 'woocommerce_archive_description' );
woocommerce/includes/wc-template-functions.php 983
<?php do_action( 'woocommerce_archive_description' ); ?>

Где используется хук в WooCommerce

woocommerce/includes/wc-template-hooks.php 62
add_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
woocommerce/includes/wc-template-hooks.php 63
add_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );