Add additional words to error output Home › Forums › Front End PM PRO › Add additional words to error output Search for: This topic is: Resolved Tagged: class, error message, extra words, php This topic has 2 replies, 2 voices, and was last updated 2 years, 6 months ago by Andrew Perryman. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts January 29, 2019 at 1:31 am #21112 Andrew PerrymanParticipant Hi Shamim, I would like to add additional word content to this error message which resides in the “class-fee-group-message.php” approx line 248, however I don’t know if it is ok safe to embellish it? Currently - $errors->add( 'pro_to' , __('You are not member to any group', 'front-end-pm')); To- $errors->add( 'pro_to' , __('You are not member to any group-please add relevant groups via the settings button above', 'front-end-pm')); I don’t know if there are any other instances of this same error output message, so if there is can you please let me know where they are so I can update them if it is ok to do so? Andrew January 30, 2019 at 1:10 am #21137 shamimKeymaster If you edit core plugin code, it will be lost when you update this plugin. It is always better to use hooks. You can use fep_before_form_fields to check if this error present and can replace with your desire error message. January 30, 2019 at 2:28 am #21141 Andrew PerrymanParticipant Cool, thanks Shamim… Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You need to purchase ‘Front End PM PRO’ to create topic in this support forum. If you already purchased ‘Front End PM PRO’ please LOGIN.