Browse
For agents
About
MailerLite – WooCommerce integration
/
3.1.22
MailerLite – WooCommerce integration
v3.1.22
Switch version
3.1.25
3.1.26
3.1.24
3.1.23
3.1.22
3.1.21
3.1.20
3.1.19
3.1.18
3.1.17
3.1.16
3.1.15
1.8.7
1.8.8
2.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.1.0
All 147 releases
Overview
Code
woo-mailerlite
/
admin
/
controllers
/
WooMailerLiteAdminGroupController.php
WooMailerLiteAdminGroupController.php
in MailerLite – WooCommerce integration 3.1.22, at admin/controllers/WooMailerLiteAdminGroupController.php
11 lines
345 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
class
WooMailerLiteAdminGroupController
extends
WooMailerLiteController
4
{
5
public
function
createGroup
(
)
6
{
7
$
this
->
authorize
(
)
->
validate
(
[
'
group
'
=>
[
'
required
'
,
'
string
'
]
]
)
;
8
$
response
=
$
this
->
apiClient
(
)
->
createGroup
(
$
this
->
validated
[
'
group
'
]
)
;
9
return
$
this
->
response
(
$
response
,
$
response
->
status
)
;
10
}
11
}