Support

Home Forums Event Espresso Premium EE4 alter text for "edit" link next to step 1 – attendee information

EE4 alter text for "edit" link next to step 1 – attendee information

Posted: March 20, 2014 at 9:56 am


Dominic Jerams

March 20, 2014 at 9:56 am

http://ieec.co.uk/event-test-page/

Is there any way to edit the text displayed for the “edit” hyperlink next to step 1 – attendee information on the event registration form?

Thanks for your help


Lorenzo Orlando Caum

  • Support Staff

March 20, 2014 at 10:27 am

Hi Dominic,

Go ahead and void the “test test” registration. I needed to enter some information to get to the page with the information.

function replace_attendee_edit($content)
{
$content = str_replace('<a id="spco-edit-attendee_information-lnk" class="spco-edit-step-lnk" href="http://ieec.co.uk/event-registration/?ee=_register&amp;step=attendee_information" rel="attendee_information">edit</a>', '<a id="spco-edit-attendee_information-lnk" class="spco-edit-step-lnk" href="http://ieec.co.uk/event-registration/?ee=_register&amp;step=attendee_information" rel="attendee_information">MYNEWEDITWORD</a>',$content);
return $content;
}
add_filter('the_content','replace_attendee_edit');

The above code can go into your theme’s functions.php file or a custom plugin. Be sure to update “MYNEWEDITWORD” to something else.

It works by looking for a phrase and replacing it with another.


Lorenzo

The support post ‘EE4 alter text for "edit" link next to step 1 – attendee information’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso