Used By
Used By | Description |
---|---|
wp-includes/wp-db.php: wpdb::log_query() | Logs query data. |
Filters the custom query data being logged.
Caution should be used when modifying any of this data, it is recommended that any additional information you need to store about a query be added as a new associative entry to the fourth element $query_data.
(array) Custom query data.
(string) The query's SQL.
(float) Total time spent on the query, in seconds.
(string) Comma-separated list of the calling functions.
(float) Unix timestamp of the time at the start of the query.
File: wp-includes/wp-db.php
Version | Description |
---|---|
5.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/log_query_custom_data