Retrieves the value of a specific submodule form option.
Description
See also
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-trait.php
public function get_form_option( $form_id, $option, $default = false ) { return $this->module->get_form_option( $form_id, $this->get_meta_identifier() . '__' . $option, $default ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |