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-interface.php
public function get_form_option( $form_id, $option, $default = false );
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |