Skip to content

Snippet: Alter the WordPress Comments Submit Button Text

function myprefix_comment_form_args( $args ) {
	$args['label_submit'] = 'Custom submit text';
	return $args;
}
add_filter( 'comment_form_defaults', 'myprefix_comment_form_args' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top