• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Show Custom Data in Woocommerce Order Details Admin Area

phpwordpresswoocommerceadminorders


PHP Snippet 1:

function my_function_meta_deta() {
    echo "I am here";
}
 add_action( 'woocommerce_admin_order_totals_after_refunded','my_function_meta_deta', $order->id );

PHP Snippet 2:

add_action('woocommerce_admin_order_data_after_order_details', 'my_custom_order_manipulation_function');
function my_custom_order_manipulation_function( $orderID ) {
    //dynamic functionalities / static html to display
}

Related Snippets

Require a class from another class - php

Make Shipping Method fields Mandatory on Woocommerce checkout page

How to set time with DateTime modify?

Laravel websockets AWS EC2 - Connection failed

PHP error: "The zip extension and unzip command are both missing, skipping."

loop through an anchor id

XML to CSV with PHP converter [problem with images grabing]

Laravel Pagination links() not working

Show only featured products in Woocommerce shop page

How to find the date a user created their Google account

Display Link Title Instead of URL in XSL

Combine multiple columns into an array as one of the key in a results set

Check if a string contain multiple specific words

How to add a heading in between checkout fields of WooCommerce

stay with the last 15 elements of an array [duplicate]

About Contact Privacy policy Terms and conditions