Plugin Directory

Changeset 643816


Ignore:
Timestamp:
12/23/2012 10:22:58 PM (13 years ago)
Author:
FranceImage
Message:

integration with Events Manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fi-geolocation/trunk/fi-geolocation.php

    r643762 r643816  
    420420        add_action('wp_footer', array(&$this, 'showme_config'));
    421421        add_filter('the_content', array(&$this, 'automatic_showme_where'), 99); // priority is low (we want shortcodes to be handled first)
     422        add_filter('em_events_output', array(&$this, 'em_events_output'), 10, 3);
     423    }
     424   
     425   
     426    /**
     427     * Integration with http://wordpress.org/extend/plugins/events-manager/
     428     */
     429    function em_events_output($output, $events, $args) {
     430        $this->has_showme_where = true;
     431        return $output;
    422432    }
    423433   
Note: See TracChangeset for help on using the changeset viewer.