WordLog

A weblog authored by Carthik about the latest in the WordPress world.

Wednesday, September 01, 2004

WordPress Function Reference

Filed under: — Carthik @ 8:55 pm

PlanetOZH writes :

Whenever I start hacking a bit my Wordpress installation, I always end up asking “in what file is this __ function located ?” and have to search /wp-include directory using grep to find it. So, to make such a search easier, I gathered the full list of functions used in WordPress 1.2 – and their default arguments.

If you have been in a similar situation before, worry not! You can use the excellent PHPXref installs that can be used to search for functions, variables, classes and such in WordPress code.

I personally use http://www.cenamayo.com/wpxref for browsing the (almost) latest CVS code, and http://www.junesix.org/xref/stable/ to browse 1.2 code.

Don’t miss the “search” tool/form that’s present in the top right corner, in the black horizontal bar. Also, when you are browsing code, clicking on a function name will take to the page showing where the function is defined and all the places it is used in.

Now you know why support volunteers seem to know where each function is, and what they do ;)

5 Comments

  1. who can read the site? Yellow is so light it doesn’t show up at all.

    Comment by Teri — 9/4/2004 @ 1:01 am

  2. Teri,
    Are you talking about this site? If you have a problem with any of the colors, please let me know. Which yellow are we talking about? Maybe I can just do a black-on-white, which is sort of my favorite anyways :)
    Sorry if you are having trouble, and please do let me know.
    Thank you !

    Comment by Carthik — 9/4/2004 @ 9:54 am

  3. Thanks for the suggestion, I was even intending to use Dreamweaver to do searches, lol

    Comment by Mr. Dew — 9/8/2004 @ 4:58 am

  4. You’re welcome.

    Comment by Carthik — 9/8/2004 @ 10:47 am

  5. Even more fun is going into the source and hovering and clicking! Who’d have ever thought that source code was more fun than fireworks? Thanks a ton for this info!

    Comment by Dennis Williamson — 10/17/2004 @ 6:05 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

 

Powered by WordPress

eXTReMe Tracker