Browse
For agents
About
GiveWP – Donation Plugin and Fundraising Platform
/
4.16.2
GiveWP – Donation Plugin and Fundraising Platform
v4.16.2
Switch version
4.16.8
4.16.7.2
4.16.7.1
4.16.7
4.16.6.1
4.16.6
4.16.5.1
4.16.5
4.16.4
4.16.3
4.16.2
4.16.1
4.16.0
4.15.5
4.15.4
4.15.3
4.15.2
4.15.1
4.15.0
2.3.0
2.3.1
2.3.2
2.30.0
2.31.0
2.31.1
All 253 releases
Overview
Code
give
/
src
/
FeatureFlags
/
OptionBasedFormEditor
/
Settings
/
DefaultOptions.php
DefaultOptions.php
30 lines
651 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
namespace
Give
\
FeatureFlags
\
OptionBasedFormEditor
\
Settings
;
4
5
/**
6
*
@since
3.18.0
7
*/
8
class
DefaultOptions
extends
AbstractOptionBasedFormEditorSettings
9
{
10
/**
11
*
@since
3.18.0
12
*/
13
public
function
getDisabledOptionIds
(
)
:
array
14
{
15
return
[
16
//
Form Fields Section
17
'
company_field
'
,
18
'
last_name_field_required
'
,
19
'
anonymous_donation
'
,
20
'
donor_comment
'
,
21
//
Post Types Section
22
'
form_featured_img
'
,
23
'
featured_image_size
'
,
24
'
form_sidebar
'
,
25
//
Terms and Conditions Section
26
'
terms
'
,
27
]
;
28
}
29
}
30