I'm modifying the postbit and I want to get the user who posted's GID and postcount, so I can use it in a custom function I am hooking into the postbit.
You want to get Poster's Usergroup ID ?
$post['usergroup'] // Poster's Usergroup
$post['postnum'] // Poster's Number of Posts
So I just put that in my function?
function check() {
Echo $post['usergroup'];
echo $post'postnum'];
}
Should be
function check($post) {
echo $post['foobar'];
}
if you're using the postbit hook
Yes, you can use these. But let me know what exactly you want with these variables ?