Title: nuw40's Replies | WordPress.org

---

# nuw40

  [  ](https://wordpress.org/support/users/nuw40/)

 *   [Profile](https://wordpress.org/support/users/nuw40/)
 *   [Topics Started](https://wordpress.org/support/users/nuw40/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nuw40/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nuw40/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nuw40/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nuw40/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nuw40/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] in woocommerce_email_attachments get a custom checkout field value](https://wordpress.org/support/topic/in-woocommerce_email_attachments-get-a-custom-checkout-field-value/)
 *  Thread Starter [nuw40](https://wordpress.org/support/users/nuw40/)
 * (@nuw40)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/in-woocommerce_email_attachments-get-a-custom-checkout-field-value/#post-10685512)
 * I found the answer.
 * The last parameter $email_object is actually the order object. The name was obscure.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] in woocommerce_email_attachments get a custom checkout field value](https://wordpress.org/support/topic/in-woocommerce_email_attachments-get-a-custom-checkout-field-value/)
 *  Thread Starter [nuw40](https://wordpress.org/support/users/nuw40/)
 * (@nuw40)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/in-woocommerce_email_attachments-get-a-custom-checkout-field-value/#post-10681977)
 * Thanks for your answer ! But both **woocommerce_email_order_meta_fields **and**
   woocommerce_email_order_details** send $order as argument. So it’s easy to get
   the custom field !
 * I’d like to access $order globally, like I access the cart with `global $woocommerce;
   $woocommerce->cart->get_cart();`

Viewing 2 replies - 1 through 2 (of 2 total)