After thinking a little bit more about looking at the sql queries I started wondering what functions were available in WordPress. This is really easy to do using PHP’s get_defined_functions() function. Just to get a quick look at the functions I added something like this to the bottom of my index.php

<div>
<h3>WordPress Functions</h3>
<pre>
<?php
$func_list = get_defined_functions();
sort($func_list['user']);
print_r($func_list['user']);
?>
</pre>
</div>

I was a little surprised to find out that there are more than 260 WordPress defined functions in the current CVS version. I tried out get_defined_vars() and get_defined_constants() but the information there was a little overwhelming. I’m not sure what I’m going to do with all of this additional information yet.