Home > WordPress > WordPress and the Settings API

WordPress and the Settings API

The Settings API is a WordPress interface for a centralized control over your forms. Built on the top of the Options API, the Settings API provides a local mechanism for validation and control management over your settings groups. It creates a settings group stored in the database that includes a number of settings in a form. On submit you could define a validation function that escapes everything for the settings group.

It doesn’t do any automagic work (as other APIs and frameworks do) but having a user input to be stored in the database could be centralized in an elegant and easy to control way. Building the form and registering the fields follows an additional abstraction layer.

Check out the quick 9-steps guide on DevWP listing several tutorials and complete references as well.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: