woocommerce_single_product_summary
Hook: woocommerce_single_product_summary.
Использование
add_action( 'woocommerce_single_product_summary', 'wp_kama_woocommerce_single_product_summary_action' ); /** * Function for `woocommerce_single_product_summary` action-hook. * * @return void */ function wp_kama_woocommerce_single_product_summary_action(){ // action... }
Где вызывается хук
woocommerce_single_product_summary
woocommerce/templates/content-single-product.php 60
do_action( 'woocommerce_single_product_summary' );
Где используется хук в WooCommerce
woocommerce/includes/class-wc-shortcodes.php 567
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
woocommerce/includes/class-wc-shortcodes.php 651
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
woocommerce/includes/class-wc-structured-data.php 31
add_action( 'woocommerce_single_product_summary', array( $this, 'generate_product_data' ), 60 );
woocommerce/includes/wc-template-hooks.php 151
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
woocommerce/includes/wc-template-hooks.php 152
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
woocommerce/includes/wc-template-hooks.php 153
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
woocommerce/includes/wc-template-hooks.php 154
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
woocommerce/includes/wc-template-hooks.php 155
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
woocommerce/includes/wc-template-hooks.php 156
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_sharing', 50 );
woocommerce/includes/wc-template-hooks.php 182
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );