Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
656 B
3
Indexable
Never
add_action('salesking_my_orders_custom_columns', function(){
	?>
	<th class="nk-tb-col tb-col-sm"><span class="sub-text"><?php esc_html_e('Company','salesking'); ?></span></th>
	<?php
});
add_action('salesking_my_orders_custom_columns_footer', function(){
	?>
	<th class="nk-tb-col tb-col-md"><?php esc_html_e('company','salesking'); ?></th>
	<?php
});
add_action('salesking_my_orders_custom_columns_content', function($orderobj){
	?>
	<td class="nk-tb-col tb-col-sm">
	    <div>
	         <span class="tb-sub"><?php
	         $company = $orderobj -> get_billing_company();
	         echo $company;
	         ?></span>
	    </div>
	</td>
	<?php
}, 10, 1);
Leave a Comment