verygoodplugins

Untitled

Dec 14th, 2020
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function remove_wpf_actions() {
  2.  
  3.     if ( ! function_exists( 'wp_fusion' ) ) {
  4.         return;
  5.     }
  6.  
  7.     remove_action( 'woocommerce_order_status_processing', array( wp_fusion()->integrations->woocommerce, 'woocommerce_apply_tags_checkout' ) );
  8.  
  9. }
  10.  
  11. add_action( 'plugins_loaded', 'remove_wpf_actions' );
RAW Paste Data