Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Option Reference

I have a couple of suggestions:

a) Don't list the options twice. Just do the By Category listing and suggest people can use their browser's Search function to search for a particular option alphabetically. The problem with listing them twice is that the two sections will get out of synch, because people will edit one without editing the other. Fixed Hans 00:41, 5 January 2008 (UTC)

b) I don't think every option is listed. If you look for add_option, get_option, and update_option in the entire WordPress distribution, you'll find a few more for your list.

jhodgdon 17:14, 4 January 2008 (UTC)

Data type or values would be helpful

It would also be helpful if each option explicitly said what values it can have, even if it seems like it should be obvious. Good start on defining what the options are, however!

 jhodgdon 17:16, 4 January 2008 (UTC)

Fixed Hans 01:24, 5 January 2008 (UTC)

Plugins

Agreed, very good start.

Perhaps add a brief mention on how plugins can insert records in the options table, with a link to the options section of Writing a Plugin.

Kaf 18:34, 4 January 2008 (UTC)

Suggestions on Linking

I think it would be helpful if this page linked to the Function_Reference/get_option page. Currently this page lists all of the options, but doesn't indicate how to access them.

NerdStarGamer 21:07, 31 March 2008 (UTC)

Reference added. Thanks for the suggestion. --MichaelH (talk) 12:16, 1 April 2008 (UTC)