Skip to content

Instantly share code, notes, and snippets.

@topleague
Last active August 6, 2017 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topleague/faed1505a3e0beb017bdd635c26cb906 to your computer and use it in GitHub Desktop.
Save topleague/faed1505a3e0beb017bdd635c26cb906 to your computer and use it in GitHub Desktop.
Add or remove notes after the comment box in Genesis
// Add or remove notes after the comment box
add_filter( 'comment_form_defaults', 'topleague_remove_comment_form_allowed_tags' );
function topleague_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'Enter the Following Details';
return $defaults;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment