Meta_Submodule_Interface::get_form_option( int $form_id, string $option, mixed $default = false )

Retrieves the value of a specific submodule form option.

Description

Parameters

$form_id

(int) (Required) Form ID.

$option

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

$default

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

Default value: false

Return

(mixed) Value set for the form option.

Source

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

	public function get_form_option( $form_id, $option, $default = false );

Changelog

Changelog
Version Description
1.0.0 Introduced.