Browsing Tag

counting

Counting custom post type with wp_count_posts returns an empty object

For some reason the wp_counts_posts function returns an empty object if I use my custom post type’s name in the function’s parameter. The var_dump is:

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising