Advertisement
verygoodplugins

Untitled

Sep 21st, 2022
871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. function prevent_tag_sync() {
  2.  
  3.     remove_filter( 'wprus_action_data', array( wp_fusion()->integrations->{ 'wp-remote-users-sync' }, 'merge_contact_data' ), 10, 3 );
  4.     remove_action( 'wpf_tags_applied', array( wp_fusion()->integrations->{ 'wp-remote-users-sync' }, 'tags_modified' ) );
  5.     remove_action( 'wpf_tags_removed', array( wp_fusion()->integrations->{ 'wp-remote-users-sync' }, 'tags_modified' ) );
  6.  
  7. }
  8.  
  9. add_action( 'wp_fusion_init', 'prevent_tag_sync' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement