Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FluentCRM Meta Integration Control
<?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