wp-includes/option.php
Lines:
1 to 79 of 79
<?php /** * Option API * * @package WordPress * @subpackage Option */ /* function get_option() – Retrieves an option value based on an option name. */ /* function wp_protect_special_option() – Protect WordPress special option from being modified. */ /* function form_option() – Print option value after sanitizing for forms. */ /* function wp_load_alloptions() – Loads and caches all autoloaded options, if available or all options. */ /* function wp_load_core_site_options() – Loads and caches certain often requested site options if is_multisite() and a persistent cache is not being used. */ /* function update_option() – Updates the value of an option that was already added. */ /* function add_option() – Adds a new option. */ /* function delete_option() – Removes option by name. Prevents removal of protected WordPress options. */ /* function delete_transient() – Deletes a transient. */ /* function get_transient() – Retrieves the value of a transient. */ /* function set_transient() – Sets/updates the value of a transient. */ /* function delete_expired_transients() – Deletes all expired transients. */ /* function wp_user_settings() – Saves and restores user interface settings stored in a cookie. */ /* function get_user_setting() – Retrieve user interface setting value based on setting name. */ /* function set_user_setting() – Add or update user interface setting. */ /* function delete_user_setting() – Delete user interface settings. */ /* function get_all_user_settings() – Retrieves all user interface settings. */ /* function wp_set_all_user_settings() – Private. Set all user interface settings. */ /* function delete_all_user_settings() – Delete the user settings of the current user. */ /* function get_site_option() – Retrieve an option value for the current network based on name of option. */ /* function add_site_option() – Add a new option for the current network. */ /* function delete_site_option() – Removes a option by name for the current network. */ /* function update_site_option() – Update the value of an option that was already added for the current network. */ /* function get_network_option() – Retrieves a network’s option value based on the option name. */ /* function add_network_option() – Adds a new network option. */ /* function delete_network_option() – Removes a network option by name. */ /* function update_network_option() – Updates the value of a network option that was already added. */ /* function delete_site_transient() – Deletes a site transient. */ /* function get_site_transient() – Retrieves the value of a site transient. */ /* function set_site_transient() – Sets/updates the value of a site transient. */ /* function register_initial_settings() – Registers default settings available in WordPress. */ /* function register_setting() – Registers a setting and its data. */ /* function unregister_setting() – Unregisters a setting. */ /* function get_registered_settings() – Retrieves an array of registered settings. */ /* function filter_default_option() – Filter the default value for the option. */