WordPress at a glance
Главная Functions Other Functions Site Options (settings)

Category: Site Options (settings) 12

add_option()

Add a new option. You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is inserted into the database. Remember, resources can not be serialized or added as an option.

admin_url()

Retrieves the URL to the admin area for the current site. Takes into account protocols (http and https).

delete_option()

Removes option by name. Prevents removal of protected WordPress options.

get_bloginfo()

Retrieves information about the current site.

get_home_url()

Retrieves the URL for a given site where the front end is accessible.

get_option()

Retrieves an option value based on an option name.

get_site_url()

Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.

home_url()

Retrieves the URL for the current site where the front end is accessible.

is_ssl()

Determines if SSL is used.

site_url()

Retrieves the URL for the current site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.

update_option()

Update the value of an option that was already added.

wp_load_alloptions()

Loads and caches all autoloaded options, if available or all options.