wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/option.php › WordPress File
Functions46
› Option API
Function | Short description |
---|---|
add_network_option | Adds a new network option. |
add_option | Adds a new option. |
add_site_option | Adds a new option for the current network. |
delete_all_user_settings | Deletes the user settings of the current user. |
delete_expired_transients | Deletes all expired transients. |
delete_network_option | Removes a network option by name. |
delete_option | Removes an option by name. Prevents removal of protected WordPress options. |
delete_site_option | Removes an option by name for the current network. |
delete_site_transient | Deletes a site transient. |
delete_transient | Deletes a transient. |
delete_user_setting | Deletes user interface settings. |
filter_default_option | Filters the default value for the option. |
form_option | Prints option value after sanitizing for forms. |
get_all_user_settings | Retrieves all user interface settings. |
get_network_option | Retrieves a network's option value based on the option name. |
get_option | Retrieves an option value based on an option name. |
get_options | Retrieves multiple options. |
get_registered_settings | Retrieves an array of registered settings. |
get_site_option | Retrieve an option value for the current network based on name of option. |
get_site_transient | Retrieves the value of a site transient. |
get_transient | Retrieves the value of a transient. |
get_user_setting | Retrieves user interface setting value based on setting name. |
register_initial_settings | Registers default settings available in WordPress. |
register_setting | Registers a setting and its data. |
set_site_transient | Sets/updates the value of a site transient. |
set_transient | Sets/updates the value of a transient. |
set_user_setting | Adds or updates user interface setting. |
unregister_setting | Unregisters a setting. |
update_network_option | Updates the value of a network option that was already added. |
update_option | Updates the value of an option that was already added. |
update_site_option | Updates the value of an option that was already added for the current network. |
wp_autoload_values_to_autoload | Returns the values that trigger autoloading from the options table. |
wp_determine_option_autoload_value | Determines the appropriate autoload value for an option based on input. |
wp_filter_default_autoload_value_via_option_size | Filters the default autoload value to disable autoloading if the option value is too large. |
wp_load_alloptions | Loads and caches all autoloaded options, if available or all options. |
wp_load_core_site_options | Loads and primes caches of certain often requested network options if is_multisite(). |
wp_prime_network_option_caches | Primes specific network options into the cache with a single database query. |
wp_prime_option_caches | Primes specific options into the cache with a single database query. |
wp_prime_option_caches_by_group | Primes the cache of all options registered with a specific option group. |
wp_prime_site_option_caches | Primes specific network options for the current network into the cache with a single database query. |
wp_protect_special_option | Protects WordPress special option from being modified. |
wp_set_all_user_settings | Private. Sets all user interface settings. |
wp_set_options_autoload | Sets the autoload value for multiple options in the database. |
wp_set_option_autoload | Sets the autoload value for an option in the database. |
wp_set_option_autoload_values | Sets the autoload values for multiple options in the database. |
wp_user_settings | Saves and restores user interface settings stored in a cookie. |