WordPress Options Pages

I’ve just written an article on the WordPress Codex (wiki) about how to create options pages and have WordPress handle all the saving / updating / magic for you. I discovered the technique the other day and I think it’s a gem, makes for very elegant plugins!

2 thoughts on “WordPress Options Pages

  1. Great post on the Codex. It’s the simplest explanation of how to update options that I’ve found so far. The sample code was a tremendous help. Thanks for taking the time to write it.

  2. @Laran Evans: New option whitelisting code in 2.7 makes this approach semi-obsolete. It still works, but only as a temporary backwards compatible fix. I’d suggest using the new whitelist options code instead (which is also WPMU compatible). I’ll try to update the article at some point… :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>