I will explain below how to show pending post count wordpress admin panel for default post type and custom post type. The following code will show the number of pending posts in the WordPress admin panel, you just need to add this code to the function.php file. You can add it to the $types array if you want to show the count number of pending posts in custom post type….