Title: Feature Request: Search Action Hook
Last modified: August 19, 2016

---

# Feature Request: Search Action Hook

 *  [mhazen](https://wordpress.org/support/users/mhazen/)
 * (@mhazen)
 * [15 years ago](https://wordpress.org/support/topic/feature-request-search-action-hook/)
 * I’m writing a plug in to replace the standard WordPress search with a more complex(
   natural language) mechanic. Unfortunately, I need to replace the search query,
   as well as returning additional data that can be used by display templates.
 * I’ve gotten as far as I can with manipulating the search term via the “posts_search”
   filter. I’d like to request an actual action hook for search which developers
   could unhook and replace with their own search function, the return being an 
   array of post objects chosen by their own methods. Would this be possible?
 * Thanks in advance!
    -mh.

The topic ‘Feature Request: Search Action Hook’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [mhazen](https://wordpress.org/support/users/mhazen/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/feature-request-search-action-hook/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
