Hey @wp-henne – thank you for your feedback, happy to hear it solved your issue.
This said, you can continue using the beta version – as soon as the next version is launched, you can simply update and it will continue to work.
Regarding your suggestion: I like the idea behind it, but I assume the use-case is too specific to make a separate setting for it.
However, it can be accomplished by creating a simple plugin file with which you can filter against the custom integration and validate it only based on your needs.
Here is some code you could use to achieve that:
add_filter( 'eeb/integrations/the_events_calendar', 'deactivete_email_encoder_the_advent_calendar', 10, 1 );
function deactivete_email_encoder_the_advent_calendar( $load ){
//Include all of the post id's you want to filter with the advent calendar plugin instead of email encoder
$deactivate_sub_validation = array(
123,
6234,
1234
);
$post_id = get_the_ID();
if( in_array( $deactivate_sub_validation, $post_id ) ){
$load = false;
}
return $load;
}
Please note that it is important to use this filter as a separate plugin and not within the functions.php file of your theme since otherwise, it doesn’t trigger the filter itself.
If you have further questions, feel free to let me know. ??