Counting how many pages are "waiting for approval"

Permalink
Hey Everyone,

I'd like to make a change to the statistics page and add how many pages are waiting for approval... Changing that page itself should be straight forward but I am not entirely sure how to detect all pending approvals... Is there something in the core that will do that? Or am I going to have to make some sort of database call? Is this even at all possible?

Any input would be greatly appreciated.

Thanks
Russ

 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.