Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cpt_column_data($column){
- global $post;
- switch($column){
- case "banner-order":
- echo get_post_meta($post->ID,'order',true);
- break;
- }
- }
- add_action("manage_posts_custom_column",'cpt_column_data');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement