• 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

SQLSTATE[HY000]: General error: 1 table posts has no column named *

how do i retrieve and display the alt text of an image in wordpress?

Call to undefined function openssl_decrypt

Remove categories with all childs derived from parent category

Is there a way to correctly use sanitize_text_field and wp_unslash that doesn't cause psalm to error with "expects string, possibly different type"

carbon generated datetime not stored correctly into the database

Wordpress how to get the post thumbnail inside a figure tag

How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"?

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

Can't call javascript alert alertify library from PHP

Wordpress 'post_type_link' hides permalink

Send POST data via raw JSON with Postman

How to extract price from given url using Xpath?

Submitting a form with ajax in Wordpress

send email using gmail-api and google-api-php-client

About Contact Privacy policy Terms and conditions