Browsing Tag


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 134674 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising