This is my very first post. Visit my website here. ShriBhivaskar.com

Happy blogging!

add_filter( ‘manage_edit-post_columns’, ‘my_columns_filter’ );
add_action( ‘manage_posts_custom_column’, ‘my_custom_column’ );
function my_columns_filter( $columns ) {
$columns[‘tweet_count’] = ‘Tweet Count’;
return $columns;
}
function my_custom_column( $column ) {
global $post;
if ( $column == ‘tweet_count’ ) {
echo get_tweet_count( $post->ID );
}
}

Advertisements