fahimmurshed

Change "Leave A Comment" title tag

Aug 4th, 2021
713
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'comment_form_defaults', 'leave_a_comment_title_tag' );
  2. function leave_a_comment_title_tag( $defaults ){
  3.   $defaults['title_reply_before'] = '<p id="reply-title" class="comment-reply-title">';
  4.   $defaults['title_reply_after'] = '</p>';
  5.   return $defaults;
  6. }
RAW Paste Data