Categories

Friday, April 26, 2024
#919814419350 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

therichpost
the authortherichpost
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 14, Angular 15, Angular 16, Angular 17, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

Leave a Reply

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