Skip to content

Instantly share code, notes, and snippets.

@anant1811
Created July 23, 2016 10:06
Show Gist options
  • Save anant1811/48eb1d182a88151064aa190c4c31b2f9 to your computer and use it in GitHub Desktop.
Save anant1811/48eb1d182a88151064aa190c4c31b2f9 to your computer and use it in GitHub Desktop.
Customise WordPress "Leave a Reply" title
//Change comment section title
function comment_reform ($arg) {
$arg['title_reply'] = __('Leave a comment:');
return $arg;
}
add_filter('comment_form_defaults','comment_reform');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment