File: wp-includes/option.php
-
functionadd_option()
Adds a new option.
-
hookadd_option
Fires before an option is added.
-
Fires after a specific option has been added.
-
hookadded_option
Fires after an option has been added.
-
functiondelete_option()
Removes an option by name. Prevents removal of protected WordPress options.
-
hookoption_{$option}
Filters the value of an existing option.
-
functionwp_protect_special_option()
Protects WordPress special option from being modified.
-
functionform_option()
Prints option value after sanitizing for forms.
-
functionget_option()
Retrieves an option value based on an option name.
-
Filters the value of an existing option before it is retrieved.
-
Filters the default value for an option.