Hi,
I’ve re-declared the function woodmart_sticky_toolbar_page_link_template() in the child theme to change the text. However, I want to draw your attention.
file: inc\modules\sticky-toolbar.php
version: 4.0.1
line: 391
You’ve already escaped the translated string in switch case statement prior to the line. so there is no need to escape the string in the variable $text again. While WordPress tries not to escape string again, it is based on best effort basis.
So you can simply replace the line with echo $text;
.
There is no need of an additional function call.
Thanks