How to change the label, Comment, in WP comment section

Last Updated on February 27, 2020 by BrodNeil

// How to change the label comment in WP comment section
function brodneil_modify_comment_form_text_area($arg) {
$arg[‘comment_field’] = ‘

‘ . _x( ‘Your feedback is appreciated.’, ‘noun’ ) . ”;
return $arg;
}

add_filter(‘comment_form_defaults’, ‘brodneil_modify_comment_form_text_area’);

Thanks to WPSites: https://wpsites.net/web-design/customize-comment-field-text-area-label/

Leave a Comment