The plugin toolkit has been getting a lot of useful classes recently, so I though a version bump was in order.
scbUtil
scbUtil is a collection of useful little functions that I was using in a lot of my plugins. My favourite is the debug()
function. Then there’s html()
and html_link()
for HTML generation. There are several other useful bits in there, but you’ll have to discover them yourself.
scbRewrite
One of the areas I wasn’t comfortable working with was the Rewrite API. The scbRewrite class was distilled from a discussion on wp-hackers. It’s only job is to take the rewrite rules you specify and hook them in all the right places.
If you would like to “try before you buy”, you can browse the source here.