Support » Plugin: Social » [Plugin: Social] Hooks and Filters, Events Made Easy Integration
4 years, 8 months ago
Hi Alex and team. I just installed “Social” yesterday and it’s working great! Thank you for your free code AND your free proxy service.
I’ve seen you suggest several times that people use the available “filters” for the plugin, rather than modifying source, but I can’t find them documented anywhere. Do I need to peruse the code?
What I’m trying to do is create some way for EVENTS generated by the “Events Made Easy” plugin to kick off a Social broadcast.
Unfortunately the EME plugin does NOT create posts. (It creates new event listings on a placeholder WP Page.) HOWEVER, it has two hook/actions that I HOPE can be linked to a Social broadcast?
eme_insert_event_action (1 parameter: $event)
eme_update_event_action (1 parameter: $event)
Could you please explain how I might do this, calling a Social broadcast every time an EME event is created? (I’m a PHP and WP newbie.) I understand I’d place the resulting “action” definitions in the functions.php of my theme.
Thanks in advance for any advice…
I’ve managed to hack at EME’s code so that it produces a WP Post closely mimicking each event.
Now I can manually go to each of those resulting posts and use Social’s broadcast buttons.
But the post creation (via wp_insert_post) is NOT kicking off Social’s automated broadcasts.
Do I have to switch to an xml-rpc approach to get Social to pick up automatically on these new posts?