# Mastering the WordPress Options API

DevFeed: [Mastering the WordPress Options API](<https://devfeed.tech/articles/mastering-the-wordpress-options-api-17728.md>)

Original publisher: [Read original article](<https://wpshout.com/mastering-wordpress-options-api/>)

Author: David Hayes

Published: 2017-05-16T11:00:55Z

Content type: tutorial

Language: en

Sources: [Back-End Development - WPShout](<https://devfeed.tech/sources/back-end-development-wpshout.md>)

Topics: [WordPress](<https://devfeed.tech/topics/wordpress.md>), [API](<https://devfeed.tech/topics/api.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Database](<https://devfeed.tech/topics/database.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [back-end-development](<https://devfeed.tech/tags/back-end-development.md>), [code](<https://devfeed.tech/tags/code.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [database](<https://devfeed.tech/tags/database.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>), [wps](<https://devfeed.tech/tags/wps.md>), [wps-nf](<https://devfeed.tech/tags/wps-nf.md>)

## AI overview

A tutorial on WordPress's Options API, explaining how site options store global configuration data and how to retrieve, create, update, and remove options. It also covers default values, serialized arrays and objects, and the distinction between update_option() and add_option().

## Source excerpt

WordPress needs a way to store small bits of sitewide data--things like your site title, admin email, or custom color schemes. That's what the Options API handles. It's one of those WordPress features that seems almost too simple at first, but you'll use it constantly once you understand it. What Are Site Options? Site options... Read More "Mastering the WordPress Options API