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.2

apply_filters('log_query_custom_data') is found 1 times:

  • /wp-includes/class-wpdb.php line 2387
    2383
    2384
    2385
    2386
    2387
    2388
    2389
    2390
    2391
    2392
    2393
    * @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,