org-get-heading

org-get-heading is a compiled Lisp function in `org.el'.

(org-get-heading &optional NO-TAGS NO-TODO)

Return the heading of the current entry, without the stars.
When NO-TAGS is non-nil, don't include tags.
When NO-TODO is non-nil, don't include TODO keywords.