Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
14
plugins/jetpack/3rd-party/woocommerce.php
vendored
Normal file
14
plugins/jetpack/3rd-party/woocommerce.php
vendored
Normal file
|
@ -0,0 +1,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();
|
||||
}
|
||||
}
|
Reference in a new issue