Retrieves the values of all module options for a specific form.
Description
See also
Parameters
- $form_id
-
(int) (Required) Form ID.
Return
(array) Option values.
Source
File: src/modules/module.php
public function get_form_options( $form_id ) { $metadata = $this->manager()->meta()->get( 'post', $form_id, $this->manager()->get_prefix() . $this->get_meta_identifier(), true ); if ( is_array( $metadata ) ) { return $metadata; } return array(); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |