To remove the icons in the WooCommerce Print Products plugin:

1. Way

remove_action( 'init', array( $WooCommerce_Print_Products->plugin_public, 'initWooCommerce_Print_Products' ) );

2. Way:

add_action( 'init', 'remove_print_icons' ); 

function remove_print_icons() { 
      global $WooCommerce_Print_Products; 

      remove_action( 'woocommerce_product_meta_end', 
      array( $WooCommerce_Print_Products->plugin_public, 
      'show_print_links' ), 90 ); 
}

The first way is recommended here.

Deja una respuesta

Tu dirección de correo electrónico no será publicada.