Opened 7 years ago
Last modified 2 years ago
#3158 new enhancement
Advanced Search Filtering Keywords
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
Hello! I'm a fan of the DevHub but I would like a little more advanced search filtering keywords. These don't necessarily need to have easy UX as that could get messy but definitely needs documentation somewhere.
A usecase example would be when searching for hooks, you can click the "Hooks" checkmark which will pull up hooks matching your query... but what if you only want to look for action hooks or filter hooks?
Or, if I want to pull up all hooks or functions in a certain file? Available in a certain version?
The first thing that comes to mind is what I'm used to which is the WordPress Stack Exchange Advanced Search which uses a simple structure of keyword:value
and could maybe be used here too. Possible keywords could include:
type:action
|hook:filter
file:comment.php
|file:wp-includes/admin-bar.php
version:4.8
|vers:4.0
This is something that could be built upon but I think it's a nice step forward without adding clutter to the clean search as it is now.
FYI: I opened up a test Pull Request for this feature but I'm unable to get it finished at the moment.
If anyone is interested, please feel free to take it over!
https://github.com/WordPress/wporg-developer/pull/87