log_query_custom_data

log_query_custom_data

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('log_query_custom_data') is found 1 times:

  • /wp-includes/class-wpdb.php line 2387
    		 * @param float  $query_time      Total time spent on the query, in seconds.
    		 * @param string $query_callstack Comma-separated list of the calling functions.
    		 * @param float  $query_start     Unix timestamp of the time at the start of the query.
    		 */
    		$query_data = apply_filters( 'log_query_custom_data', $query_data, $query, $query_time, $query_callstack, $query_start );
    
    		$this->queries[] = array(
    			$query,
    			$query_time,
    			$query_callstack,
    			$query_start,