woocommerce_before_single_product_summary
Hook: woocommerce_before_single_product_summary.
Usage
add_action( 'woocommerce_before_single_product_summary', 'wp_kama_woocommerce_before_single_product_summary_action' ); /** * Function for `woocommerce_before_single_product_summary` action-hook. * * @return void */ function wp_kama_woocommerce_before_single_product_summary_action(){ // action... }
Where the hook is called
woocommerce_before_single_product_summary
woocommerce/templates/content-single-product.php 43
do_action( 'woocommerce_before_single_product_summary' );
Where the hook is used in WooCommerce
woocommerce/includes/wc-template-hooks.php 127
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
woocommerce/includes/wc-template-hooks.php 40
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 10 );