SLPĀ® phpDocs

MySLP_Option_Modifier
in package

SLP Option Modifier changes return values of options via hooks and filters.

Used by this MySLP Dashboard Base Class on as well as the REST API handler.

TODO: Elminate new MySLP_Option_Modifer -- make this a singleton On a single call to Generate Embed on a test server the constructor was called 8x on a single page load.

Table of Contents

Properties

$cache  : mixed
$slplus  : mixed

Methods

__construct()  : mixed
Standard constructor so we can easily extend a base class object later if desired.
get_google_api_key()  : string
Get the google API key from network admin settings.
modify_smart_options()  : mixed
Modify Smart Options
set_theme()  : string
Set the Plugin Style to 'a_style_gallery' since we only used SLP hosted styling.

Properties

Methods

__construct()

Standard constructor so we can easily extend a base class object later if desired.

public __construct() : mixed

get_google_api_key()

Get the google API key from network admin settings.

public get_google_api_key(string $value) : string
Parameters
$value : string
Return values
string

set_theme()

Set the Plugin Style to 'a_style_gallery' since we only used SLP hosted styling.

public set_theme(string $unused) : string
Parameters
$unused : string

The value SLP wants to use

Return values
string
On this page

Search results