WordPress code diving: tips for finding out how to do things…sometimes

Yesterday I was helping someone out with a “How do I…?” WordPress development query.

Despite not knowing the answer to the question immediately, I was able to use some tricks to find the answer.

And I thought the process by which I found the answer may be of interest to others.

So here’s a little 12 minute video of:

  • Using the WordPress GitHub mirror
  • Using code search in GitHub
  • Using the “grep” command line tool to search code quickly and easily
  • Ultimately, finding filters in WordPress core in order to modify core behaviour

I hope you learn something useful!