akismet_comment_form_privacy_notice_url_display

akismet_comment_form_privacy_notice_url_display

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.4

apply_filters('akismet_comment_form_privacy_notice_url_display') is found 1 times:

  • /wp-content/plugins/akismet/views/notice.php line 145

    Warning: Undefined array key 147 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 148 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 149 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 150 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    <?php elseif ( $type == 'privacy' ) :?>
    <div class="notice notice-warning is-dismissible" id="akismet-privacy-notice-admin-notice">
    	<p><strong><?php esc_html_e( 'Akismet & Privacy.', 'akismet' );?></strong></p>
    	<p><?php esc_html_e( 'To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on below.', 'akismet' ); ?></p>
    	<p><?php printf( __(' Please <a href="%s">enable</a> or <a href="%s">disable</a> this feature. <a href="%s" id="akismet-privacy-notice-control-notice-info-link" target="_blank">More information</a>.', 'akismet' ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_display', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=display' ) ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_hide', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide' ) ), 'https://akismet.com/privacy/' ); ?></p>
    </div>
    <?php endif;?>
    
    
    
    

See this hook used in plugins: