Store Locator Plus®

MySLP_Option
in package

Class MySLP_Option

Helper for getting values out of the $myslp->options[] with code hints for the IDE.

Tags
see
MySLP::initialize()

loads the array from the WordPress myslp-dashboard-options option for the mains site

see
MySLP::update_options()

Table of Contents

Properties

$general_default_processor  : string
$stripe_live_publishable_key  : string
$stripe_live_secret_key  : string
$stripe_mode  : string
$stripe_test_publishable_key  : string
$stripe_test_secret_key  : string

Methods

__get()  : mixed
Get our properties from the $myslp->options array.
__isset()  : bool
Allow empty etc to work.

Properties

$general_default_processor read-only

public string $general_default_processor

paypal||stripe

$stripe_live_publishable_key read-only

public string $stripe_live_publishable_key

Stripe live publishable key

$stripe_live_secret_key read-only

public string $stripe_live_secret_key

Stripe live secret key

$stripe_mode read-only

public string $stripe_mode

live||test

$stripe_test_publishable_key read-only

public string $stripe_test_publishable_key

Stripe test publishable key

$stripe_test_secret_key read-only

public string $stripe_test_secret_key

Stripe test secret key

Methods

__get()

Get our properties from the $myslp->options array.

public __get(string $property) : mixed
Parameters
$property : string

__isset()

Allow empty etc to work.

public __isset(string $property) : bool
Parameters
$property : string
Return values
bool

        
On this page

Search results