Missing function?

Home Forums Calendar Products Events Calendar PRO Missing function?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #893452
    filadelfia
    Participant

    Hi
    I am not sure why, but the mini-calendar-widget is referencing functions as:
    “do_action( ‘tribe_events_mini_cal_list_inside_before_loop’ );” and similarly
    “do_action( ‘tribe_events_mini_cal_list_inside_after_loop’ );” in the list.php file.
    However, after searching ALL files on the server i cannot find any such functions.
    There is no online reference to these function calls either.
    Can these calls be safely removed?

    #894167
    Brian
    Keymaster

    Those are two action hooks. You are correct none of the coding uses those hooks to run a function there, but I would not remove any hooks from the widget as that could change in the future. There is no speed, performance, or any other benefit from removing them either.

    Many times a plugin will have hooks like that to enable customers to use them to add their own coding.

    Let me know if you have any follow up questions.

    Thanks

    #929920
    Brian
    Keymaster

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Missing function?’ is closed to new replies.