Show 'inactive' option in 'Manage subscription'

[MAILPOET-1973]
This commit is contained in:
Ján Mikláš
2019-04-11 10:38:37 +02:00
committed by Rostislav Wolný
parent 24abfd25c4
commit 07af1df3a5

View File

@ -345,6 +345,17 @@ class Pages {
'is_hidden' => (
$subscriber->status !== Subscriber::STATUS_BOUNCED
)
),
array(
'value' => array(
Subscriber::STATUS_INACTIVE => WPFunctions::get()->__('Inactive', 'mailpoet')
),
'is_checked' => (
$subscriber->status === Subscriber::STATUS_INACTIVE
),
'is_hidden' => (
$subscriber->status !== Subscriber::STATUS_INACTIVE
)
)
)
)