WordPress.org

Ready to get started?Download WordPress

Forums

Feature Request: Search Action Hook (1 post)

  1. mhazen
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic