Archived topic
comment button
5 replies · Started by slavakudr on January 20, 2018
Help please, I can not find the site file in which you can change the name of the "Comment" button. How do I change the name of a button from a comment form?
Hi there,
This should help: https://docs.generatepress.com/article/generate_post_comment/
That filter doesn't change the button text like he asked?
It should. I just tested this code:
add_filter( 'generate_post_comment','generate_post_comment_text' );
function generate_post_comment_text() {
return 'My Comment Text';
}
And it worked as expected:
https://www.screencast.com/t/qfJZappPjdTy
My apologese, it works.
Glad it's working :)