pfeifferNet

set-options.php

Set site settings and options.

Tags
since
1.0.0
copyright

2024 Keith Pfeiffer

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
since
1.0.0
since
1.2.0

Removed reference to pLogin settings.

get_site_title()

Get the new site title.

get_site_title() : string
Tags
since
1.0.0
Return values
string

The modified site title.

get_site_description()

Get the new site description.

get_site_description() : string
Tags
since
1.0.0
Return values
string

The modified site description.

get_logo_id()

Get the development site logo ID.

get_logo_id() : int
Tags
since
1.0.0
Return values
int

The id of the dev site 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
since
1.0.0

set_site_settings()

Set the development pNet settings.

set_site_settings() : void
Tags
since
1.0.0
since
1.2.0

Provide for clean site.


        
On this page

Search results