Advertisement
Guest User

Untitled

a guest
Apr 12th, 2013
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $post_count = $wpdb->get_var(
  2.     "SELECT COUNT(ID) FROM $wpdb->posts
  3.     WHERE post_author = '$curauth->ID'
  4.     AND post_type = 'user_video'
  5.     AND post_status = 'publish'"
  6. );
Advertisement
RAW Paste Data Copied
Advertisement