This week's project is to figure out a way to pass a list of a post's categories to a function in order to pass back some related posts that may also be of interest to a reader. I'm using Exec-PHP plug-in to do stuff like this from within a post.
I think I've got it down that I could this manually building an array, but I'd prefer if there was a pre-existing function that I'm currently not aware of that I could hit.
Any advice?