WC_Email_Customer_Abandoned_Cart_Recovery::is_automated
Whether the merchant has opted into automated scheduling.
When false, the email is only dispatched via the manual-send action on the order edit page. The Action Scheduler integration consults this before scheduling a send.
Метод класса: WC_Email_Customer_Abandoned_Cart_Recovery{}
Хуков нет.
Возвращает
true|false.
Использование
$WC_Email_Customer_Abandoned_Cart_Recovery = new WC_Email_Customer_Abandoned_Cart_Recovery(); $WC_Email_Customer_Abandoned_Cart_Recovery->is_automated(): bool;
Список изменений
| С версии 11.0.0 | Введена. |
Код WC_Email_Customer_Abandoned_Cart_Recovery::is_automated() WC Email Customer Abandoned Cart Recovery::is automated WC 11.0.1
public function is_automated(): bool {
return 'yes' === $this->get_option( 'automated', 'no' );
}