Options API (settings) (tag)
| add_network_option() | Adds a network setting. Used in a multisite setup. |
| add_option() | Adds a new option. Does nothing if this option already exists. |
| delete_option() | Deletes settings (post from the wp_options table in the DB). |
| get_network_option() | Gets the value of the specified network option (the main site in a multisite network). |
| get_option() | Gets the value of the specified setting (option). |
| get_site_option() | Gets the specified option of the main site of the current network. |
| register_setting() | Registers a new option and a callback function to handle the option value when it is saved to the database. |
| update_option() | Updates the value of an option (setting) in the database. Expects an unescaped string. |
| update_site_option() | Updates or adds the specified option for the current site (current blog network). For multisite networks. |