A WordPress-centric search engine for devs and theme authors



wp-includes/option.php ›

Functions35
Option API


Function Short description
add_network_optionAdd a new network option.
add_optionAdd a new option.
add_site_optionAdd a new option for the current network.
delete_all_user_settingsDelete the user settings of the current user.
delete_expired_transientsDeletes all expired transients.
delete_network_optionRemoves a network option by name.
delete_optionRemoves option by name. Prevents removal of protected WordPress options.
delete_site_optionRemoves a option by name for the current network.
delete_site_transientDelete a site transient.
delete_transientDelete a transient.
delete_user_settingDelete user interface settings.
filter_default_optionFilter the default value for the option.
form_optionPrint option value after sanitizing for forms.
get_all_user_settingsRetrieve all user interface settings.
get_network_optionRetrieve a network's option value based on the option name.
get_optionRetrieves an option value based on an option name.
get_registered_settingsRetrieves an array of registered settings.
get_site_optionRetrieve an option value for the current network based on name of option.
get_site_transientGet the value of a site transient.
get_transientGet the value of a transient.
get_user_settingRetrieve user interface setting value based on setting name.
register_initial_settingsRegister default settings available in WordPress.
register_settingRegister a setting and its data.
set_site_transientSet/update the value of a site transient.
set_transientSet/update the value of a transient.
set_user_settingAdd or update user interface setting.
unregister_settingUnregister a setting.
update_network_optionUpdate the value of a network option that was already added.
update_optionUpdate the value of an option that was already added.
update_site_optionUpdate the value of an option that was already added for the current network.
wp_load_alloptionsLoads and caches all autoloaded options, if available or all options.
wp_load_core_site_optionsLoads and caches certain often requested site options if is_multisite() and a persistent cache is not being used.
wp_protect_special_optionProtect WordPress special option from being modified.
wp_set_all_user_settingsPrivate. Set all user interface settings.
wp_user_settingsSaves and restores user interface settings stored in a cookie.