Returns the available meta fields for the submodule.
Description
See also
Return
(array) Associative array of <code>$field_slug => $field_args</code> pairs.
Source
File: src/modules/protectors/protector.php
public function get_meta_fields() { $meta_fields = $this->_get_meta_fields(); $meta_fields['enabled'] = array( 'type' => 'checkbox', 'label' => _x( 'Enable?', 'protector', 'torro-forms' ), 'visual_label' => _x( 'Status', 'protector', 'torro-forms' ), ); return $meta_fields; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |