Comments 5Matthew started the conversationJanuary 14, 2025 at 2:38pmHello,How do I change the title of the Go to Sales Agent Dashboard button to Go to Sales Rep Dashboard?I added to my functions.php file: add_filter ('salesking_dashboard_button', function($val) { return 'Go to Sales Rep Dashboard';}, 10, 1);But that is not working.Thanks! 2,318WebWizards repliedJanuary 15, 2025 at 12:44pmHello Matthew, It is possible to change that text by adding this PHP code snippet to your site: function modify_dashboard_text( $translated_text, $text, $domain ) { if ( $text === 'Go to Sales Agent Dashboard' ) { return 'Go to Sales Rep Dashboard'; } return $translated_text; } add_filter( 'gettext', 'modify_dashboard_text', 20, 3 ); If necessary, additional texts can be changed by extending this snippet, The code can be added to functions.php or any snippets plugin, Kind regards, Stefan 5Matthew repliedJanuary 17, 2025 at 4:19pmThis worked perfectly. Thanks!1 Like Sign in to reply ...
Hello,
How do I change the title of the Go to Sales Agent Dashboard button to Go to Sales Rep Dashboard?
I added to my functions.php file:
add_filter ('salesking_dashboard_button', function($val) {
return 'Go to Sales Rep Dashboard';
}, 10, 1);
But that is not working.
Thanks!
Hello Matthew,
It is possible to change that text by adding this PHP code snippet to your site:
If necessary, additional texts can be changed by extending this snippet,
The code can be added to functions.php or any snippets plugin,
Kind regards,
Stefan
This worked perfectly.
Thanks!