learndash_get_total_post_count( string $post_type = '' )

Retrieves the number of posts by post_type.


Description Description


Parameters Parameters

$post_type

(Optional) The post type slug.

Default value: ''


Top ↑

Return Return

(int) The Number of posts for the given post type.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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