I've been scouring everywhere and can't seem to find this. I know the WP variable within the loop can use $post_count
but I'm writing from an external function. I've set global wp_query
so I should be able to pull out the number, and I have the user IDs as well.
Any help would be more than appreciated :D