protected _add_query_log ( array $query ) : void | ||
$query | array | Query. |
return | void | Method does not return. |
protected function _add_query_log($query)
{
if (defined('WP_DEBUG') && WP_DEBUG || defined('WP_EP_DEBUG') && WP_EP_DEBUG) {
$this->queries[] = $query;
}
do_action('ep_add_query_log', $query);
}