wporg-developer
wporg-developer copied to clipboard
Further disambiguate search result types
After #108 / #109, I think it's still easy to miss the subtle distinction between hooks and functions. You also can't tell which type of hook it is. Adding a prefix could make it more obvious, like:

The prefix could by syntax highlighted to make it visually distinct, and feel more familiar to folks who've viewed other pages.
Methods could have the method name highlighted, to make it stand out from the class name.
This is similar to how Dash displays them:
And with the filtering feature expanded (to show what the icons mean):

Came across this today, and thought the same - still 😄