Change the leave a comment title tag in Astra

Change the leave a comment title tag in Astra.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'comment_form_defaults', 'leave_a_comment_title_tag' );
function leave_a_comment_title_tag( $defaults ){
  $defaults['title_reply_before'] = '<p id="reply-title" class="comment-reply-title">';
  $defaults['title_reply_after'] = '</p>';
  return $defaults;
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.