Skip to content

Instantly share code, notes, and snippets.

@ovizii
Created August 15, 2013 09:21
Show Gist options
  • Select an option

  • Save ovizii/6239524 to your computer and use it in GitHub Desktop.

Select an option

Save ovizii/6239524 to your computer and use it in GitHub Desktop.
Add comment policy below comment form
function wpbeginner_comment_text_after($arg) {
$arg['comment_notes_after'] = "We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our <a href='http://www.example.com/comment-policy-page/'>comment policy</a>.";
return $arg;
}
add_filter('comment_form_defaults', 'wpbeginner_comment_text_after');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment