html->customer_dropdown(
array(
'class' => 'edd-payment-change-customer-input edd-form-group__input',
'selected' => $customer_id,
'id' => 'customer-id',
'name' => 'customer-id',
'none_selected' => esc_html__( 'Search for a customer', 'easy-digital-downloads' ),
'placeholder' => esc_html__( 'Search for a customer', 'easy-digital-downloads' ),
)
); // WPCS: XSS ok.
?>
…' ),
array(
'span' => true,
)
);
?>
or
get_meta(), $user_info );
}
do_action( 'edd_payment_view_details', $order->id );
}
/**
* Output the order details email section
*
* @since 3.0
*
* @param object $order
*/
function edd_order_details_email( $order ) {
$customer = edd_get_customer( $order->customer_id );
$all_emails = array( 'primary' => $customer->email );
foreach ( $customer->emails as $key => $email ) {
if ( $customer->email === $email ) {
continue;
}
$all_emails[ $key ] = $email;
}
$help = __( 'Send a new copy of the purchase receipt to the email address used for this order. If download URLs were included in the original receipt, new ones will be included.', 'easy-digital-downloads' );
?>