Monday, November 30, 2020
therichposts@gmail.com
WoocommerceWoocommerce HooksWordpress Cheat CodesWordpress HooksWordpress TricksWp Tricks

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

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

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, Angular 8, Angular 9, Angular 10, Angular 11, Nodejs, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

Leave a Reply

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