Settings_Submodule_Interface::get_option( string $option, mixed $default = false )

Retrieves the value of a specific submodule option.

Description

Parameters

$option

(string) (Required) Name of the option to retrieve.

$default

(mixed) (Optional) Value to return if the option doesn't exist.

Default value: false

Return

(mixed) Value set for the option.

Source

File: src/modules/settings-submodule-interface.php

	public function get_option( $option, $default = false );

Changelog

Changelog
Version Description
1.0.0 Introduced.