woocommerce_share
Usage
add_action( 'woocommerce_share', 'wp_kama_woocommerce_share_action' ); /** * Function for `woocommerce_share` action-hook. * * @return void */ function wp_kama_woocommerce_share_action(){ // action... }
Where the hook is called
In file: /templates/single-product/share.php
woocommerce_share
woocommerce/templates/single-product/share.php 24
do_action( 'woocommerce_share' ); // Sharing plugins can hook into here.