Fix action hook declaration

Fix the function referenced by the action hook to the proper name.
Fix comment
Add spacing
Add close bracket comment
Add end-of-section comment