Siobhan McKeown announced that the first version of the WordPress Code Reference is now live. It’s still in the very early stages of development but is now out in the wild so that people can help contribute. Go try it out to see how easy it is to search the WordPress code base.
The reference was created as part of the devhub project to make it easy for developers to find more information about WordPress’ functions, classes, methods, hooks, and filters. After a few quick searches, I found that the search function is actually quite forgiving and will return results that are similar to what you were looking for, even if you spell it wrong.
How can you help improve the reference?
McKeown said that current development for the parser will continue on Github and you can open a ticket there to offer feedback on issues and enhancements. Tickets for the code reference theme can be found on meta trac. Very soon you’ll be able to submit code examples to the reference, McKeown said:
Please feel free to add tickets to meta trac if there are any issues you encounter, and if there’s a feature or enhancement you’d like we can discuss that too. We do have the functionality ready for submitting examples, we just need a few parser things fixed before we can deploy it.
The documentation team has been working at a feverish pace to completely overhaul WordPress docs to make them more useful to the community. The contributor handbooks have a new design that is now live on the core, mobile, docs, and polyglot handbooks. If you want to get in on the fun and help to make WordPress docs more awesome, join the Docs team at their weekly meeting Thursdays at 23:00 UTC in IRC on the #wordpress-sfd channel.
This looks great. I tried it out and it works well. I would love to see this reference data be made available via an API of sorts. Then it could be integrated directly into IDE’s and other WP help apps