Advertisement
Guest User

Untitled

a guest
Feb 24th, 2011
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. function cpt_column_data($column){
  2.     global $post;
  3.     switch($column){
  4.         case "banner-order":
  5.             echo get_post_meta($post->ID,'order',true);
  6.             break;
  7.     }
  8. }
  9. add_action("manage_posts_custom_column",'cpt_column_data');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement