Issue #3269284 by RenatoG: Improve the hook helper with all information available including the new settings