Advertisement
verygoodplugins

Untitled

Oct 27th, 2020
1,063
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  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' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement