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.
Method of the class: WC_Email_Customer_Abandoned_Cart_Recovery{}
No Hooks.
Returns
true|false.
Usage
$WC_Email_Customer_Abandoned_Cart_Recovery = new WC_Email_Customer_Abandoned_Cart_Recovery(); $WC_Email_Customer_Abandoned_Cart_Recovery->is_automated(): bool;
Changelog
| Since 11.0.0 | Introduced. |
WC_Email_Customer_Abandoned_Cart_Recovery::is_automated() WC Email Customer Abandoned Cart Recovery::is automated code WC 11.0.0
public function is_automated(): bool {
return 'yes' === $this->get_option( 'automated', 'no' );
}