Browse: Home / Classes / Semper_Fi_Module /

Semper_Fi_Module::get_option

Semper_Fi_Module::get_option( string $name,  boolean|string|array $default = false,  boolean $use_cache = true )

Adds support for getting network options.


Description #


Parameters #

$name

(string) (Required) Name of the option.

$default

(boolean|string|array) (Optional) Value to return if the option doesn't exist.

Default value: false

$use_cache

(boolean) (Optional) Whether to use cache.

Default value: true


Return #

(string)


Source #

File: includes/class-ld-semper-fi-module.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.