Guest User

Custom Columns

a guest
Jul 2nd, 2012
182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Custom columns
  2.     function custom_columns($args) {
  3.         $args = array('cb' => '<input type="checkbox" />', 'title' => __('Title'), 'thumbnail' => __('Thumbnail'), 'author' => __('Author'), 'categories' => __('Categories'), 'tags' => __('Tags'), 'date' => __('Date'));
  4.         return $args;
  5.     }
  6.     add_filter('manage_edit-slides_columns', 'custom_columns');
RAW Paste Data