learndash_check_query_post_type( array $query_args = array() )

Gets the posts count from the WP_Query post_type argument.


Description Description


Parameters Parameters

$query_args

(Optional) The WP_Query query arguments array.

Default value: array()


Top ↑

Return Return

(int) Number of posts for a post type.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.