Change icons for getEventStatusIcons

Home Forums Calendar Products Community Events Change icons for getEventStatusIcons

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1098921
    indycourses
    Participant

    When viewing “My Events” on the front-end a green checkmark icon is being displayed for Published events. Is there a way to hook into this function to replace icons with ones consistent in my theme?

    I’ve found this function to be printing the icon:

    <?php echo Tribe__Events__Community__Main::instance()->getEventStatusIcon( $post->post_status ); ?>

    Screenshot: http://cl.ly/1Y1Z1A200B0Y

    Thanks

    #1099244
    Cliff
    Member

    Hi Roxanne. Thanks for your detailed question.

    The checkmark PNG comes from the public function getEventStatusIcon method in this file: /wp-content/plugins/the-events-calendar-community-events/src/Tribe/Main.php

    I don’t see any filters in there, but you could suggest/request it via our UserVoice page.

    Adding it there allows others who are interested in that feature to easily voice their support. We frequently review suggestions there to find out which ones are popular, then we implement as many of them as we can.

    Once you post it, feel free to link to it from here in case anyone comes across this forum thread in the future.

    Thanks.

    #1099714
    indycourses
    Participant
    #1099772
    Cliff
    Member

    Thanks for sharing!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change icons for getEventStatusIcons’ is closed to new replies.