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_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.