File: wp-includes/option.php
-
functionwp_autoload_values_to_autoload()
Returns the values that trigger autoloading from the options table.
-
Filters the autoload values that should be considered for autoloading from the options table.
-
Filters the maximum size of option value in bytes.
-
Determines the appropriate autoload value for an option based on input.
-
Allows to determine the default autoload value for an option where no explicit value is passed.
-
Filters the default autoload value to disable autoloading if the option value is too large.
-
functionwp_prime_site_option_caches()
Primes specific network options for the current network into the cache with a single database query.
-
functionwp_prime_network_option_caches()
Primes specific network options into the cache with a single database query.
-
Primes the cache of all options registered with a specific option group.
-
functionget_options()
Retrieves multiple options.
-
functionwp_set_option_autoload_values()
Sets the autoload values for multiple options in the database.
-
functionwp_set_options_autoload()
Sets the autoload value for multiple options in the database.
-
functionwp_set_option_autoload()
Sets the autoload value for an option in the database.
-
functionwp_prime_option_caches()
Primes specific options into the cache with a single database query.
-
Filters the array of alloptions before it is populated.
-
hookpre_option
Filters the value of all existing options before it is retrieved.
-
hookregister_setting
Fires immediately before the setting is registered but after its filters are in place.
-
Fires immediately before the setting is unregistered and after its filters have been removed.
-
Fires after a specific network option has been successfully added.
-
functiondelete_expired_transients()
Deletes all expired transients.
-
Filters all options before caching them.
-
hookalloptions
Filters all options after retrieving them.
-
functionfilter_default_option()
Filters the default value for the option.
-
Filters the registration arguments when registering a setting.
-
functionget_registered_settings()
Retrieves an array of registered settings.
-
functionregister_initial_settings()
Registers default settings available in WordPress.
-
Filters the expiration for a site transient before its value is set.
-
functionupdate_network_option()
Updates the value of a network option that was already added.
-
functionadd_network_option()
Adds a new network option.
-
functiondelete_network_option()
Removes a network option by name.