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/timetrap.php
public function get_meta_fields() { $meta_fields = parent::get_meta_fields(); $meta_fields['trigger'] = array( 'type' => 'number', 'label' => __( 'Timetrap Trigger', 'torro-forms' ), 'description' => __( 'Specify the number of minimum seconds a user needs to be on the page in order to qualify as a human.', 'torro-forms' ), 'default' => 3, 'min' => 1, 'step' => 1, 'wrap_classes' => array( 'has-torro-tooltip-description' ), ); return $meta_fields; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |