org-map-region

org-map-region is a compiled Lisp function in `org.el'.

(org-map-region FUN BEG END)

Call FUN for every heading between BEG and END.