Last active
June 3, 2022 02:15
-
-
Save Kaiderella/31a402372f13bccb730e to your computer and use it in GitHub Desktop.
Loại bỏ các thẻ HTML được cho phép bên trên khung bình luận trong Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Loại bỏ các thẻ HTML được cho phép bên trên khung bình luận trong Genesis | |
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' ); | |
function sp_remove_comment_form_allowed_tags( $defaults ) { | |
$defaults['comment_notes_after'] = ''; | |
return $defaults; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment