Skip to content

Instantly share code, notes, and snippets.

@m4munib
Last active October 13, 2018 09:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<?php
function mk_custom_admin_order_data_after_order_details($order) {
?>
<div class="order_data_column">
<h4><?php _e('Custom Field'); ?></h4>
<?php
echo '<p>Custom Value</p>';
?>
</div>
<?php
}
add_action('woocommerce_admin_order_data_after_order_details', 'mk_custom_admin_order_data_after_order_details');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment