diff --git src/wp-includes/wp-db.php src/wp-includes/wp-db.php
index 9759438..f5f897d 100644
|
|
class wpdb { |
1887 | 1887 | $this->num_queries++; |
1888 | 1888 | |
1889 | 1889 | if ( defined( 'SAVEQUERIES' ) && SAVEQUERIES ) { |
1890 | | $this->queries[] = array( $query, $this->timer_stop(), $this->get_caller() ); |
| 1890 | /** |
| 1891 | * Filters the query data before it is added to the saved query array. |
| 1892 | * |
| 1893 | * @since 4.9.0 |
| 1894 | * |
| 1895 | * @param array The data associated with the currently run query. |
| 1896 | */ |
| 1897 | $this->queries[] = apply_filters( 'savequeries_add_query', array( $query, $this->timer_stop(), $this->get_caller() ) ); |
1891 | 1898 | } |
1892 | 1899 | } |
1893 | 1900 | |