Noptin_WooCommerce::get_order_customer_email( $order_id )
Contents
Source Source
File: includes/integrations/class-noptin-woocommerce.php
public function get_order_customer_email( $order_id ) { $order = wc_get_order( $order_id ); if ( empty( $order ) ) { return ''; } if ( method_exists( $order, 'get_billing_email' ) ) { return $order->get_billing_email(); } return $order->billing_email; }
Expand full source code Collapse full source code View on GitHub