Created
April 10, 2018 05:42
-
-
Save bryceadams/9f70d05d30ce7be6bdebb489c487974f to your computer and use it in GitHub Desktop.
WC Custom Meta Getting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$order_id = 125; | |
echo get_post_meta( $order_id, 'payment_gateway_fee', true ); // 1.60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment