Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: akismet_comment_form_privacy_notice_url_hide

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
130           <br /><br />
131           <?php printf( __( 'Please <a href="%s" target="_blank">contact our support team</a> with any questions.', 'akismet' ), ''); ?>
132      </p>
133      <?php endif; ?>
134 </div>
135 <?php elseif ( $type == 'privacy' ) :?>
136 <div class="notice notice-warning is-dismissible" id="akismet-privacy-notice-admin-notice">
137      <p><strong><?php esc_html_e( 'Akismet & Privacy.', 'akismet' );?></strong></p>
138      <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>
139      <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' ) ), '' ); ?></p>
140 </div>
141 <?php endif;?>