Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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>';
}
Comment

PREVIOUS NEXT
Code Example
Php :: rename migration in laravel 
Php :: how refresh the record of data in laravel 
Php :: php key value dictionary 
Php :: print url in view yii2 
Php :: laravel difference between current time and created time 
Php :: php multi type parameter union types 
Php :: how to retrieve value from stdclass array in php 
Php :: php array remove value if exists 
Php :: nav active in laravel 
Php :: add custom user meta and display it in user page 
Php :: how to run php file in xampp 
Php :: php cookie never expire 
Php :: require all files in directory php 
Php :: php memory usage view 
Php :: laravel eloquent get column 
Php :: randstring php 
Php :: laravel get url path 
Php :: laravel drop column 
Php :: php json_encode without square brackets 
Php :: php 8 attributes 
Php :: wordpress check if page is password protected 
Php :: difference of two dates in seconds php 
Php :: laravel route view 
Php :: php get data from prepared select 
Php :: random word using a wordlist php 
Php :: Array and string offset access syntax with curly braces is no longer supported in C:xampphtdocse-examPHPExcelPHPExcelSharedString.php on line 529 
Php :: remove last character from string in php 
Php :: e_notice in php 
Php :: how to get current url in laravel 
Php :: larave artisan command run in web 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =