Woocommerce Display field value on the admin order edit page [Custom Field Display 2]
/**
* Display field value on the admin order edit page..
*
* PHP Custom Feild Value
*
*
*/
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 '<p><strong>'.__('Store Location').':</strong> ' . get_post_meta( $order->id, 'My Field', true ) . '</p>';
}
Also in PHP:
- call a seeder in database laravel
- create symfony project
- eloquent pluck multiple columns
- day of the week th usig php
- date- format php a string
- change timestamp format php
- catching error php
- custom post type with taxonomy
- E: Unable to locate package php7.2-mbstring
- PHP Encode image in Base64
- base64 decode neglect underscore php
- dateFormat php
- check if result contains something php
- current timestamp carbon
- diable php error
- $ php artisan route list
- browser cache laravel
- fetch visitor ip address php
- eloquent where in
- add array to array php
- : 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tabl e `users` add unique `users_email_unique`(`email`))
- date functions in php
- Route::auth(); giving error in laravel 7
- disab;e error reporting php