Events custom post type does not register with MailPoet
-
Hello,
I’m trying to get MailPoet3 to automatically send an email to subscribers when a new Event is created.
However, in MailPoet the Events do not appear, hence no email sent.
Browsing the support for MailPoet, I found out that if the Custom Post Type setsexclude_from_search
totrue
, then MailPoet won’t register the CPT.A cursory search in the Events Manager plugin source shows that, indeed :
in file em-posts.php :
line 126'exclude_from_search' => !get_option('dbem_cp_events_search_results'),
line 172'exclude_from_search' => true
line 220'exclude_from_search' => !get_option('dbem_cp_locations_search_results'),
Is it possible to override this and set
exclude_from_search
tofalse
somewhere ? What side-effects would such a change have ?Thanks a lot for your support,
Regards
Thierry
- The topic ‘Events custom post type does not register with MailPoet’ is closed to new replies.