Does anyone have any suggestions on how to limit the search in the WP admin area to just post titles? It's very frustrating to want to pull up a specific page, and get hundreds of results that have that word in the post content.
This is possible by altering the search query via the
A default search query will look like this:
We need to remove the post content search, a regular expression should be enough.
Note that the regular expression has not been thoroughly tested and may have edge cases when other plugins or themes alter hook into here.