Variable: org-archive-finalize-hook
org-archive-finalize-hook is a customizable variable defined in
org-archive.el.gz.
Value
nil
Documentation
Hook run after successfully archiving a subtree in final location.
Hook functions are called with point on the subtree in the
destination file. Compare this with org-archive-hook, which
runs in the original file. At this stage, the subtree has been
added to the archive location, but not yet deleted from the
original file.
This variable was added, or its default value changed, in Org version
9.8.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-archive.el.gz
(defcustom org-archive-finalize-hook nil
"Hook run after successfully archiving a subtree in final location.
Hook functions are called with point on the subtree in the
destination file. Compare this with `org-archive-hook', which
runs in the original file. At this stage, the subtree has been
added to the archive location, but not yet deleted from the
original file."
:group 'org-archive
:package-version '(Org . "9.8")
:type 'hook
:risky t)