I want to add some HTML (for showing count of specific type post in database) Wordpress is new to me, I don't have much knowledge about hooks and filters.
As i understand i need to do following work -
- Need to get count of post (XYZ type of post) from database.
- add a hook/filter to add these count in HTML of admin bar.
Can anyone, please help me to understand the process flow, and coding for above this work?
Note: I known, These type of question are not meet up with SO question standard. But really guys i don't have much knowledge about this work.
I want something like this -
Thank you in advance...!!!