blob: 44c44489495619f102472ab09969dc3411780ee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
add_action( 'woocommerce_share', 'jetpack_woocommerce_social_share_icons', 10 );
/*
* Make sure the social sharing icons show up under the product's short description
*/
function jetpack_woocommerce_social_share_icons() {
if ( function_exists( 'sharing_display' ) ) {
remove_filter( 'the_content', 'sharing_display', 19 );
remove_filter( 'the_excerpt', 'sharing_display', 19 );
echo sharing_display();
}
}
|