set-options.php
Set site settings and options.
Tags
Table of Contents
Functions
- set_site_options() : void
- Set the dev values in wp_options
- get_site_title() : string
- Get the new site title.
- get_site_description() : string
- Get the new site description.
- get_logo_id() : int
- Get the development site logo ID.
- set_retina_logo() : void
- Set the apple touch icon.
- set_site_settings() : void
- Set the development pNet settings.
Functions
set_site_options()
Set the dev values in wp_options
set_site_options() : void
Tags
get_site_title()
Get the new site title.
get_site_title() : string
Tags
Return values
string —The modified site title.
get_site_description()
Get the new site description.
get_site_description() : string
Tags
Return values
string —The modified site description.
get_logo_id()
Get the development site logo ID.
get_logo_id() : int
Tags
Return values
int —The id of the dev site logo.
set_retina_logo()
Set the apple touch icon.
set_retina_logo([int $logo_id = 0 ]) : void
Parameters
- $logo_id : int = 0
-
The ID of the site logo image.
Tags
set_site_settings()
Set the development pNet settings.
set_site_settings() : void