Edit event submission response

Home Forums Calendar Products Community Events Edit event submission response

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1086663
    Kenneth
    Participant

    Hello.

    I would like to edit the text displayed to the user after a community event is submitted (currently “Event submitted. Submit another event”). How do I do this? I have tried searching for the file that contains this, but I cannot find it.

    #1087450
    Cliff
    Member

    Hi. That message comes from Line 85 of /wp-content/plugins/the-events-calendar-community-events/src/Tribe/Submission_Handler.php

    But you can use theĀ tribe_events_community_submission_message filter to customize it. For example:

    add_filter( 'tribe_events_community_submission_message', function( $msg ) {
    if ( false === strpos( $msg, 'Event submitted' ) ) return $msg;
    return 'My much improved message';
    } );
    #1094106
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Edit event submission response’ is closed to new replies.