Codex

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

Talk:Settings API

I changed the example because the "regular-text" class used on the input element was creating a 325px wide border around the checkbox and I don't think that is correct. Should if be something else?

Also, I changed the initializer for $checked from single quotes to double quotes because the empty single quotes were not being displayed by the wiki.

ALSO, the overview for this page is not clear to me: "WordPress 2.7 adds a Settings API for inserting settings and setting sections into the existing WordPress settings panels. This means directly in those pages and not as a new page."

When is says "existing WordPress settings panels" does it mean ones defined in the core or does it mean existing at that moment in time (i.e. that could have been added by a plugin?)

Mikeschinkel 08:07, 13 June 2009 (UTC)


Move API documentation?

I created add_settings_fields and add_settings_section pages - should we remove the content from that page and just list links (like the main Function Reference?) or keep it there for the sake of global vision?

Slashing bug?

The eg_setting_callback_function() in the example at the bottom is slashed weird. It looks ok in the edit screen, but slashes are added on display Jorbin 07:36, 18 March 2010 (UTC)