WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code | 
|---|---|
| 115 |                                                             <td></td> | 
| 116 |                                                             <td align="left"> | 
| 117 |                                                                  <fieldset><legend class="screen-reader-text"><span><?php esc_html_e('Akismet anti-spam strictness', 'akismet'); ?></span></legend> | 
| 118 |                                                                  <p><label for="akismet_strictness_1"><input type="radio" name="akismet_strictness" id="akismet_strictness_1" value="1" <?php checked('1', get_option('akismet_strictness')); ?> /> <?php esc_html_e('Silently discard the worst and most pervasive spam so I never see it.', 'akismet'); ?></label></p> | 
| 119 |                                                                  <p><label for="akismet_strictness_0"><input type="radio" name="akismet_strictness" id="akismet_strictness_0" value="0" <?php checked('0', get_option('akismet_strictness')); ?> /> <?php esc_html_e('Always put spam in the Spam folder for review.', 'akismet'); ?></label></p> | 
| 120 |                                                                  </fieldset> | 
| 121 |                                                                  <span class="note"><strong><?php esc_html_e('Note:', 'akismet');?></strong> | 
| 122 |                                                                  <?php | 
| 123 |                                                                   | 
| 124 |                                                                  $delete_interval = max( 1, intval( apply_filters( 'akismet_delete_comment_interval', 15 ) ) ); | 
| 125 |                                                                   | 
| 126 |                                                                  printf( | 
| 127 |                                                                       _n( | 
| 128 |                                                                            'Spam in the <a href="%1$s">spam folder</a> older than 1 day is deleted automatically.', | 
| 129 |                                                                            'Spam in the <a href="%1$s">spam folder</a> older than %2$d days is deleted automatically.', | 
| 130 |                                                                            $delete_interval, | 
| 131 |                                                                            'akismet' | 
| 132 |                                                                       ), | 
| 133 |                                                                       admin_url( 'edit-comments.php?comment_status=spam' ), |