• Resolved tasgray

    (@tasgray)


    Hi there,

    I’m trying to change the event details link to point to the eventbrite.com url rather than the single post page on my site. Reading the developer documents I see that there is a filter eventbrite_event_eb_url which I understand should update the url as per my requirement.

    I’ve implemented the filter in my functions.php file but the output remains the same. What have I missed?

    function filter_event_url($html) {
    	return "abcd";
    }
    
    add_filter('eventbrite_event_eb_url', 'filter_event_url', 10, 0);

    Appreciate any help

    https://www.ads-software.com/plugins/eventbrite-api/

Viewing 1 replies (of 1 total)
  • Plugin Author Automattic

    (@automattic)

    Just add_filter('eventbrite_event_eb_url', 'filter_event_url' ); should work for you since you’re just passing the one standard parameter.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing event links on index page’ is closed to new replies.