autoship_order_dashboard_columns

(src > orders.php) Can be used to add new columns to the Orders table or remove Autoship columns. You can add or remove additional columns by modifying the array passed via the filter. Any new column record must include the following information, with the Column ID as the key:

Example

Column ID => array {
     'location' Column ID after which it should be inserted.
     'label'    Column Label
     'meta_key' The meta key name to sort by.
     'orderby'  How the sort should work, value, number value etc.
     'callback' A valid callback function to populate the column.
                Takes the Post ID ( int ) as Parameter.
  }

Still need help? Contact Us Contact Us