log_query_custom_data
最后更新于:2021-11-27 05:00:37
apply_filters( ‘log_query_custom_data’, array $query_data, string $query, float $query_time, string $query_callstack, float $query_start )
Filters the custom data to log alongside a query.
参数
- $query_data
-
(array)
Custom query data. - $query
-
(string)
The query’s SQL. - $query_time
-
(float)
Total time spent on the query, in seconds. - $query_callstack
-
(string)
Comma-separated list of the calling functions. - $query_start
-
(float)
Unix timestamp of the time at the start of the query.
源文件
文件: gc-includes/gc-db.php