wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



log_query_custom_data › WordPress Filter Hooks

Seit5.3.0
Veraltetn/v
apply_filters( 'log_query_custom_data', $query_data, $query, $query_time, $query_callstack, $query_start )
Parameter: (5)
  • () query_data Custom query data.
    Erforderlich: Ja
  • () query The query's SQL.
    Erforderlich: Ja
  • () query_time Total time spent on the query, in seconds.
    Erforderlich: Ja
  • () query_callstack Comma-separated list of the calling functions.
    Erforderlich: Ja
  • () query_start Unix timestamp of the time at the start of the query.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the custom data to log alongside a query.

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 array element.




Quellcode

$query_data = apply_filters( 'log_query_custom_data', $query_data, $query, $query_time, $query_callstack, $query_start );