Last active
October 25, 2021 08:24
-
-
Save techjewel/7e2737d3d3002c0e0dc4fa6443738fbb to your computer and use it in GitHub Desktop.
FluentCRM Meta Integration Control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* FluentCRM Pro has integration with various plugin as WordPress Post/Settings meta. | |
* You can disable that by snippet and match plugin | |
*/ | |
add_filter('fluentcrm_disable_integration_metaboxes', function($status, $plugin) { | |
$disableFluentCRMMeta = ['learndash','learnpress','lifterlms','tutorlms','woocommerce', 'edd']; | |
if(in_array($plugin, $disableFluentCRMMeta)) { | |
return true; | |
} | |
return $status; | |
}, 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment