Disable publicize on products in Jetpack

Disable publicize on products in Jetpack on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_action('init', 'jetpack_support_remove_woo_publicize');
function jetpack_support_remove_woo_publicize() {
  remove_post_type_support( 'product', 'publicize' );
}