Disabled Jetpack for products

Implemented the new Jetpack jetpack_comment_form_enabled_for_* filter

Closes #9152
This commit is contained in:
Claudio Sanches 2015-10-30 13:08:44 -02:00
parent 58b01886c9
commit a8ddd8acf9
1 changed files with 7 additions and 0 deletions

View File

@ -227,3 +227,10 @@ add_action( 'woocommerce_order_details_after_order_table', 'woocommerce_order_ag
*/
add_action( 'woocommerce_auth_page_header', 'woocommerce_output_auth_header', 10 );
add_action( 'woocommerce_auth_page_footer', 'woocommerce_output_auth_footer', 10 );
/**
* Comments
*
* Disable Jetpack comments
*/
add_filter( 'jetpack_comment_form_enabled_for_product', '__return_false' );