akismet_comment_form_privacy_notice

akismet_comment_form_privacy_notice

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('akismet_comment_form_privacy_notice') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1849
    	 * Controls the display of a privacy related notice underneath the comment form using the `akismet_comment_form_privacy_notice` option and filter respectively.
    	 * Default is top not display the notice, leaving the choice to site admins, or integrators.
    	 */
    	public static function display_comment_form_privacy_notice() {
    		if ( 'display' !== apply_filters( 'akismet_comment_form_privacy_notice', get_option( 'akismet_comment_form_privacy_notice', 'hide' ) ) ) {
    			return;
    		}
    		echo apply_filters(
    			'akismet_comment_form_privacy_notice_markup',
    			'<p class="akismet_comment_form_privacy_notice">' . sprintf(
    				__( 'This site uses Akismet to reduce spam. <a href="%s" target="_blank" rel="nofollow noopener">Learn how your comment data is processed</a>.', 'akismet' ),