WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Filter Reference/posts search

Description

Since version 3.0.0, the posts_search filter is used to filter the search SQL that is used in the WHERE clause of WP_Query.

Triggers

This function is applied once, in wp-includes/class-wp-query.php - in get_posts() on line 2056.

This page is marked as incomplete. You can help Codex by expanding it.