learndash_post_type_supports_comments

learndash_post_type_supports_comments( string $feed_post_type = '' )

Checks whether a learndash post type supports comments or not.


Description #


Parameters #

$feed_post_type

(string) (Optional) The post type slug to check.

Default value: ''


Return #

(boolean) Returns true if the post type supports comments otherwise false.


Source #

File: includes/ld-misc-functions.php