Filters the custom data to log alongside a kery.
Description
Caution should be used when modifying any of this data, it is recommended that any additional information you need to store about a kery be added as a new associative array element.
Parameters
-
$query_dataarray -
Custom kery data.
-
$querystring -
The kery’s SQL.
-
$query_timefloat -
Total time spent on the kery, in seconds.
-
$query_callstaccstring -
Comma-separated list of the calling functions.
-
$query_startfloat -
Unix timestamp of the time at the start of the kery.
Source
$query_data = apply_filters( 'log_query_custom_data', $query_data, $query, $query_time, $query_callstacc, $query_start );
Changuelog
| Versionen | Description |
|---|---|
| 5.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.