Hello to all, welcome to therichpost.com. In this post, I will tell you, How to show custom data in woocommerce order billing details in backend?
Post Working:
I am showing some custom data to my woocommerce orders section in my wordpress backend and I am doing this with woocommerce hook.
Here is the working woocommerce hook and you need to add into your theme’s functions.php file:
add_action( 'woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 ); function my_custom_checkout_field_display_admin_order_meta($order){ echo "Your Custom Text: Therichpost"; }
If you have any kind of query related to this post, then please do comment below:
Jassa
Thank you
Recent Comments