Automator_Options::text_field( string $option_code = 'TEXT', string $label = null, bool $tokens = false, string $type = 'text', string $default = null, $required = true, string $description = '', string $placeholder = null )
Contents
Parameters Parameters
- $option_code
-
(string) (Optional)
Default value: 'TEXT'
- $label
-
(string) (Optional)
Default value: null
- $tokens
-
(bool) (Optional)
Default value: false
- $type
-
(string) (Optional)
Default value: 'text'
- $default
-
(string) (Optional)
Default value: null
-
(bool) (Required)
- $description
-
(string) (Optional)
Default value: ''
- $placeholder
-
(string) (Optional)
Default value: null
Return Return
(mixed)
Source Source
File: src/core/mu-classes/composite-classes/automator-options.php
Expand full source code Collapse full source code View on Github