Advertisement
eventsmanager

enable ical ORGANIZER property

Jan 2nd, 2021
850
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. This function enables the ORGANIZER property in the ical event feed. Requires EM 5.9.9 to work.
  4.  
  5. For installation instructions, see here - http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
  6. */
  7. add_filter('em_locate_template_args_templates/ical.php', function($args){
  8.     $args['include_organizer'] = true;
  9.     return $args;
  10. });
Advertisement
RAW Paste Data Copied
Advertisement