Example #1
0
 /**
  * Register custom ID column
  * @param type $columns
  * @return type
  * 
  * @author toscho
  */
 public function t5_add_col($columns)
 {
     $in = array("tax_id" => "ID");
     $columns = B5F_MTT_Utils::array_push_after($columns, $in, 0);
     return $columns;
 }
 /**
  * Add ID colum to wp-admin/upload.php
  * 
  * @param type $cols
  * @return type
  */
 public function id_column_define($cols)
 {
     $in = array("id" => "ID");
     $cols = B5F_MTT_Utils::array_push_after($cols, $in, 0);
     return $cols;
 }
 /**
  * Add blogname column header
  * 
  * @param type $columns
  * @return type
  */
 public function add_blogname_column($columns)
 {
     $in = array("blog_name" => "Name");
     $columns = B5F_MTT_Utils::array_push_after($columns, $in, 2);
     return $columns;
 }