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 |
|---|---|
| 168 | <?php esc_html_e( 'Always put spam in the Spam folder for review.', 'akismet' ); ?> |
| 169 | </span> |
| 170 | </label> |
| 171 | </div> |
| 172 | </fieldset> |
| 173 | |
| 174 | <div class="akismet-settings__row-note"> |
| 175 | <strong><?php esc_html_e( 'Note:', 'akismet' ); ?></strong> |
| 176 | <?php |
| 177 | $delete_interval = max( 1, intval( apply_filters( 'akismet_delete_comment_interval', 15 ) ) ); |
| 178 | |
| 179 | printf( |
| 180 | _n( |
| 181 | 'Spam in the <a href="%1$s">spam folder</a> older than 1 day is deleted automatically.', |
| 182 | 'Spam in the <a href="%1$s">spam folder</a> older than %2$d days is deleted automatically.', |
| 183 | $delete_interval, |
| 184 | 'akismet' |
| 185 | ), |
| 186 | admin_url( 'edit-comments.php?comment_status=spam' ), |