apply_filters( 'query', string $query )

Filters the database query.


Description Description

Some queries are made before the plugins have been loaded, and thus cannot be filtered with this method.


Parameters Parameters

$query

(string) Database query.


Top ↑

Source Source

File: wp-includes/wp-db.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.