apply_filters_ref_array( 'posts_search', string $search , WP_Query $this )
Filters the search SQL that is used in the WHERE clause of WP_Query.
Description Description
Parameters Parameters
Source Source
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example function search by title only:
Expand full source codeCollapse full source code