Title: Remove SKU through WordPress hook
Last modified: October 2, 2023

---

# Remove SKU through WordPress hook

 *  [Mykyta Synelnikov](https://wordpress.org/support/users/nsinelnikov/)
 * (@nsinelnikov)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/remove-sku-through-wordpress-hook/)
 * Hi Payrexx team,
   May you add the filter for the basket entity?I just need to 
   remove SKU element from the email notification If I set here the empty string
   it works:[https://plugins.trac.wordpress.org/browser/woo-payrexx-gateway/trunk/src/Util/BasketUtil.php#L38](https://plugins.trac.wordpress.org/browser/woo-payrexx-gateway/trunk/src/Util/BasketUtil.php#L38)
 * A hook is like this below can be helpful instead of line 33 [https://plugins.trac.wordpress.org/browser/woo-payrexx-gateway/trunk/src/Util/BasketUtil.php#L33](https://plugins.trac.wordpress.org/browser/woo-payrexx-gateway/trunk/src/Util/BasketUtil.php#L33):
 *     ```wp-block-code
       $basket[] = apply_filter(
           'wc_payrexx_basket_product',
           array(
               'name' => $item['data']->get_title(),
               'description' => strip_tags($item['data']->get_short_description()),
               'quantity' => $item['quantity'],
               'amount' => round($amount * 100),
               'sku' => $item['data']->get_sku(),
           )
       );
       ```
   
 * Let me know if it’s possible,
   Best Regards!

The topic ‘Remove SKU through WordPress hook’ is closed to new replies.

 * ![](https://ps.w.org/woo-payrexx-gateway/assets/icon-256x256.png?rev=1687544)
 * [Payrexx Payment Gateway for WooCommerce](https://wordpress.org/plugins/woo-payrexx-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payrexx-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payrexx-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payrexx-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payrexx-gateway/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mykyta Synelnikov](https://wordpress.org/support/users/nsinelnikov/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/remove-sku-through-wordpress-hook/)
 * Status: not resolved