akismet_debug_log

akismet_debug_log

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('akismet_debug_log') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1788
    	 *
    	 * @param mixed $akismet_debug The data to log.
    	 */
    	public static function log( $akismet_debug ) {
    		if ( apply_filters( 'akismet_debug_log', defined( 'WP_DEBUG' ) && WP_DEBUG && defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG && defined( 'AKISMET_DEBUG' ) && AKISMET_DEBUG ) ) {
    			error_log( print_r( compact( 'akismet_debug' ), true ) );
    		}
    	}
    
    	/**
    	 * Check pingbacks for spam before they're saved to the DB.