Browse: Home / Classes / Learndash_Admin_Posts_Listing /

Learndash_Admin_Posts_Listing::check_query_post_type_count

Learndash_Admin_Posts_Listing::check_query_post_type_count( string $post_type )

Gets the posts count from the WP_Query post_type argument.


Description #


Parameters #

$post_type

(string) (Required) Post type to check.


Return #

(int) Number of posts for a post type.


Source #

File: includes/admin/class-learndash-admin-posts-listing.php


Changelog #

Changelog
Version Description
3.2.3 Introduced.