X
23712

Ticket #23712 Public

Filter for Eventcard Details?

  • Is there a filter that can be used to add event details to ALL events?

    Instead of typing in the same details for each event, I’d like my developer to just add a filter that automatically appends the data.

    The Hooks: Actions & Filters Documentation isn’t showing a filter for the eventcard details (but it also hasn’t been updated in 2 years).

    Any insight? Thanks!

    BY: FindTimeForFun - Jan 17,2017 AT 8:04AM - 3 years ago
    • By: infotainerdave Jan 17,2017 AT 10:10PM - Posted 3 years ago - #23850

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patient and thank you for being a eventon customer!

    • By: Ashan Perera Jan 18,2017 AT 9:44AM - Posted 3 years ago - #23943

      You can do something like this I suppose

      add_filter(‘eventon_eventcard_array’,’fnc_name’,10,4);
      function fnc_name($array, $pmv, $eventid, $repeat_interval){
      $array[‘eventdetails’] = array(
      ‘fulltext’=>’Manual Content’
      );
      return $array;
      }

      But bare in mind this will replace all the event details unless you use $event_id value to eliminate some events.

      Cheers

    • By: FindTimeForFun Jan 20,2017 AT 10:34AM - Posted 3 years ago - #24504

      Thank you, that’s really helpful!

       

    • By: infotainerdave Jan 20,2017 AT 10:37AM - Posted 3 years ago - #24506

      If you have a moment, we would greatly appreciate if you could kindly leave us a review at codecanyon! from your account > downloads. Cheers!

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON