=> Not the right way of nulling because cannot update plugin without doing all modifications again in update plugin code.
=> Add below code to your functions.php/child theme or wherever you want to properly null the plugin in non-destructive way i.e. allow it to update & still maintaining null state.
=> Not tested very thoroughly because not using plugin but prima facie it is working & should work. If needed adjustments or not working, ping me.
CODE (edited & fixed for new installation) -
PHP:
//plugin - product feeds pro - null - START
add_filter('pre_option_license_information','custom_null_product_feed_pro');
function custom_null_product_feed_pro(){
remove_filter('pre_option_license_information','custom_null_product_feed_pro');
$productFeedLicense=get_option('license_information');
if(!is_array($productFeedLicense)){
$productFeedLicense=[];
}
unset($productFeedLicense['message']);
unset($productFeedLicense['message_type']);
$productFeedLicenseNull=[
'license_valid'=>true,
'license_created'=>'2000-01-01',
'notice'=>false,
'license_email'=>'[email protected]',
'license_key'=>'abcde12345',
];
$productFeedLicense=array_merge($productFeedLicense,$productFeedLicenseNull);
add_filter('pre_option_license_information','custom_null_product_feed_pro');
return $productFeedLicense;
}
//plugin - product feeds pro - null - END