Skip to content

Instantly share code, notes, and snippets.

Last active Jul 31, 2021
What would you like to do?
Thêm quy định bình luận vào theme Paradise
//* Customize Comment Policy
function modify_text_before_comment_form($arg) {
$arg['comment_notes_before'] = '<p class="comment-notes">' . __( 'quy-dinh-cua-ban' ) . '</p>';
return $arg;
add_filter('comment_form_defaults', 'modify_text_before_comment_form');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment