Advertisement
verygoodplugins

Untitled

Mar 2nd, 2021
1,051
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. function remove_wpf_actions() {
  2.  
  3.     if ( ! function_exists( 'wp_fusion' ) ) {
  4.         return;
  5.     }
  6.  
  7.     remove_action( 'fluentcrm_contact_added_to_tags', array( wp_fusion()->crm_base->crm_no_queue, 'contact_tags_added_removed' ), 10, 2 );
  8.     remove_action( 'fluentcrm_contact_removed_from_tags', array( wp_fusion()->crm_base->crm_no_queue, 'contact_tags_added_removed' ), 10, 2 );
  9.  
  10. }
  11.  
  12. add_action( 'plugins_loaded', 'remove_wpf_actions' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement