Created
June 14, 2018 21:16
-
-
Save kraftbj/f39f6e93a4e7e63934bb097bf7ccc525 to your computer and use it in GitHub Desktop.
Akismet filter privact notice
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
add_filter( 'akismet_comment_form_privacy_notice_markup', 'bk_custom_akismet_markup' ); | |
function bk_custom_akismet_markup( $markup ) { | |
$markup = '<p class="akismet_comment_form_privacy_notice">' . sprintf( | |
__( 'This site uses Akismet to reduce spam. <a href="%s" target="_blank" rel="nofollow">Learn how your comment data is processed</a>.', 'akismet' ), | |
'https://akismet.com/privacy/' | |
) . '</p>'; | |
return $markup; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment