File: wp-includes/option.php
-
functionget_site_option()
Retrieve an option value for the current network based on name of option.
-
Filters a specific transient before its value is set.
-
Filters the value of an existing network option before it is retrieved.
-
Fires after the value for a specific transient has been set.
-
Filters the value of a specific default network option.
-
hooksetted_transient
Fires after the value for a transient has been set.
-
hookdeleted_option
Fires after an option has been deleted.
-
hookupdate_option
Fires immediately before an option value is updated.
-
functiondelete_transient()
Deletes a transient.
-
Fires after the value of a specific option has been successfully updated.
-
Fires immediately before a specific transient is deleted.
-
hookupdated_option
Fires after the value of an option has been successfully updated.
-
functionadd_option()
Adds a new option.
-
hookadd_option
Fires before an option is added.
-
Fires after a specific option has been added.
-
functionwp_load_alloptions()
Loads and caches all autoloaded options, if available or all options.
-
hookadded_option
Fires after an option has been added.
-
functionwp_load_core_site_options()
Loads and primes caches of certain often requested network options if is_multisite().
-
functiondelete_option()
Removes an option by name. Prevents removal of protected WordPress options.
-
functionupdate_option()
Updates the value of an option that was already added.
-
hookdelete_option
Fires immediately before an option is deleted.
-
Filters a specific option before its value is (maybe) serialized and updated.
-
Fires after a specific option has been deleted.
-
Filters an option before its value is (maybe) serialized and updated.
-
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.
-
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.