Home Woocommerce How to show custom data in woocommerce order billing details in backend?

How to show custom data in woocommerce order billing details in backend?

by therichpost
0 comment
woocommerce add custom data billing area backend

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.
woocommerce add custom data billing area backend
woocommerce add custom data billing area backend

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

You may also like

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.