I have custom post type called Booking. It have custom post status : "waiting confirmation" and "confirmed".
I want to display counter in navigation menu to count total post which status is "waiting confirmation". It would look like this.
How could I do that?
My source code is here: https://github.com/rahmatawaludin/morpha-event