Site Options (settings) (category)
| add_option() | Adds a new option. Does nothing if this option already exists. |
| admin_url() | Retrieves the URL to the admin area for the current site. Takes into account protocols (http and https). |
| delete_option() | Deletes settings (post from the wp_options table in the DB). |
| get_bloginfo() | Gets information about the site from the settings. |
| get_home_path() | Gets the absolute path to the root folder of the site (where wp-config.php is located). The result may differ from the constant ABSPATH. It has a trailing slash at the end. |
| get_home_url() | Gets the URL of the site's main page (without / at the end). You can specify the site ID of the network. Considers the protocol (http, https). |
| get_option() | Gets the value of the specified setting (option). |
| get_options() | Gets the values of several WordPress options. |
| get_site_url() | Gets the site URL. |
| home_url() | Gets the URL of the site's main page (without the trailing slash /). Considers the protocol (http, https). |
| is_ssl() | Checks whether secure HTTPS (SSL) connection is used. A conditional tag. |
| site_url() | Gets the site URL (where the WordPress core is installed) with the corresponding protocol (https, if the is_ssl condition is triggered). |
| update_option() | Updates the value of an option (setting) in the database. Expects an unescaped string. |
| wp_get_environment_type() | Gets the current environment type: local, development, staging, production (default). |
| wp_load_alloptions() | Loads into cache all auto-loaded options of WordPress. Retrieves all options of the site. |
| wp_prime_option_caches() | Primes the specified options in the cache so subsequent get_option() calls do not issue a separate database query for each option. |
| wp_prime_option_caches_by_group() | Loads all options registered in the specified group through register_setting() into the cache. |
| wp_set_option_autoload() | Changes an option's autoload setting when WordPress starts without changing its value. |
| wp_set_option_autoload_values() | Enables or disables autoloading for several options without changing their values. |
| wp_set_options_autoload() | Enables or disables autoloading for several options without changing their values. |