Hi @stephenpasquini
You can change all string via the custom filter user_feedback_script_data. In your case, to change the button label just put this inside your functions.php.
function custom_user_feedback_script_data( $data ) {
$data['templates']['button']['label'] = __( 'Report Error', 'your-textdomain' );
return $data;
}
add_filter( 'user_feedback_script_data', 'custom_user_feedback_script_data' );
This should do the trick.
Best
Stefan
Thread Starter
Stephen
(@stephenpasquini)
Thank you so much, Stefan, for getting back to me so fast! I tried placing this into functions.php file in my child theme, but nothing happened. Do I need to modify this at all to get it to work on my site? Again, thanks so much for your help.
Hey Stephen
Turns out there was a bug in version 1.1.1 where the user_feedback_script_data filter was accidentally removed and doesn’t work as intended anymore.
We put the fix for this into our new version which is currently available as a beta. You can download the development version via https://wordpress.org/plugins/user-feedback/advanced/ (link at the bottom). You need to download it from there, delete your current version, and upload the new ZIP file in order to update the plugin.
Please let us know if there are any questions about that.
Sorry for the troubles!
Cheers
Pascal
Thread Starter
Stephen
(@stephenpasquini)
Wow thank you so much, I have to tell you this plugin is a gem! It is exactly what I need. This new version fixes the problem with the senders email not being included with their message. It hangs for about 5-10 seconds after I click send feedback, which will likely confuse some users. Not sure if there is a way to show a message such as “sending” while it is doing this? Great work though, you rock!