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/actions/action.php
public function get_meta_fields() { $meta_fields = $this->_get_meta_fields(); $meta_fields['enabled'] = array( 'type' => 'checkbox', 'label' => _x( 'Enable?', 'action', 'torro-forms' ), 'visual_label' => _x( 'Status', 'action', 'torro-forms' ), ); return $meta_fields; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |