Browse
For agents
About
Blocks – Reusable Content, Shortcodes & Site Variables
/
trunk
Blocks – Reusable Content, Shortcodes & Site Variables
vtrunk
Switch version
26.09.03.15
26.08.31.21
26.08.22.20
26.08.22.22
26.08.22.17
26.08.22.13
26.08.21.19
26.08.07.23
26.07.19.14
26.07.13.21
26.07.13.17
26.07.12.13
026.07.07.21
026.07.05.18
026.06.26.20
026.06.26.21
026.06.08.20
026.05.13.14
026.04.29.10
trunk
026.02.22.22
026.03.16.23
026.04.23.13
Overview
Code
blocks
/
src
/
Settings
/
FieldType.php
FieldType.php
in Blocks – Reusable Content, Shortcodes & Site Variables trunk, at src/Settings/FieldType.php
20 lines
421 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
declare
(
strict_types
=
1
)
;
4
5
namespace
RenzoJohnson
\
Blocks
\
Settings
;
6
7
\
defined
(
'
ABSPATH
'
)
||
exit
;
8
9
enum
FieldType
:
string
{
10
case
Checkbox
=
'
checkbox
'
;
11
case
Image
=
'
image
'
;
12
case
Number
=
'
number
'
;
13
case
Product
=
'
product
'
;
14
case
Secret
=
'
secret
'
;
15
case
Select
=
'
select
'
;
16
case
SupportHours
=
'
support-hours
'
;
17
case
Text
=
'
text
'
;
18
case
Textarea
=
'
textarea
'
;
19
}
20