This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Add a Purchased Column w/ Item Quantity, SKU, Name, & Meta to the Admin Orders Table **/ | |
class ThemeWooCommerce | |
{ | |
/* Add a `Purchased` Column to the Admin Orders Table */ | |
public static function add_purchased_column_header($columns) { | |
$new_columns = array(); | |
foreach ($columns as $key => $title) { | |
if ($key === 'billing_address') { | |
$new_columns['order_items'] = __('Purchased', 'woocommerce'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type FilterMsg | |
= UpdateTitleFilter String | |
| UpdateDescriptionFilter String | |
| UpdateTagFilter String | |
type Msg | |
= Filter FilterMsg | |
| DoSomethingElse |