learndash_update_posts_comment_status( string $post_type = '', string|boolean $comment_status = false )
Updates the comment_status field for all the post of given post type.
learndash_update_posts_comment_status( string $post_type = '', string|boolean $comment_status = false )
Updates the comment_status field for all the post of given post type.