akismet_delete_commentmeta_batch

akismet_delete_commentmeta_batch

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-5.4.2

do_action('akismet_delete_commentmeta_batch') is found 2 times:

  • /wp-content/plugins/akismet/class.akismet.php line 417
    				delete_comment_meta( $comment_id, 'akismet_as_submitted' );
    				do_action( 'akismet_batch_delete_count', __FUNCTION__ );
    			}
    
    			do_action( 'akismet_delete_commentmeta_batch', count( $comment_ids ) );
    		}
    
    		if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->commentmeta ) ) // lucky number
    			$wpdb->query("OPTIMIZE TABLE {$wpdb->commentmeta}");
    	}
    
    
  • /wp-content/plugins/akismet/class.akismet.php line 450
     
    				$last_meta_id = $commentmeta->meta_id;
    			}
    
    			do_action( 'akismet_delete_commentmeta_batch', $commentmeta_deleted );
    
    			// If we're getting close to max_execution_time, quit for this round.
    			if ( microtime(true) - $start_time > $max_exec_time )
    				return;
    		}