Filter hook 'akismet_delete_comment_interval'

in WP Core File wp-content/plugins/akismet/views/config.php at line 182

View Source

akismet_delete_comment_interval

Filter Hook

Hook Information

File Location wp-content/plugins/akismet/views/config.php View on GitHub
Hook Type Filter
Line Number 182

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into akismet_delete_comment_interval
add_filter('akismet_delete_comment_interval', 'my_custom_filter');

function my_custom_filter() {
    // Your custom filtering logic here
    return 'modified_value';
}

Source Code Context

wp-content/plugins/akismet/views/config.php:182 - How this hook is used in WordPress core
<?php
 177  									</fieldset>
 178  
 179  									<div class="akismet-settings__row-note">
 180  										<strong><?php esc_html_e( 'Note:', 'akismet' ); ?></strong>
 181  										<?php
 182  										$delete_interval = max( 1, intval( apply_filters( 'akismet_delete_comment_interval', 15 ) ) );
 183  
 184  										$spam_folder_link = sprintf(
 185  											'<a href="%s">%s</a>',
 186  											esc_url( admin_url( 'edit-comments.php?comment_status=spam' ) ),
 187  											esc_html__( 'spam folder', 'akismet' )

PHP Documentation

No PHP documentation available for this hook.
Quick Info
  • Hook Type: Filter
  • Parameters: 0
  • File: wp-content/plugins/akismet/views/config.php
Related Hooks

Related hooks will be displayed here in future updates.