learndash_check_query_post_type( array $query_args = array() )
Gets the posts count from the WP_Query
post_type argument.
Parameters #
- $query_args
-
(array)
(Optional)
The WP_Query
query arguments array.
Default value: array()
Return #
(int) Number of posts for a post type.