Hi, I would like to add PHP code to the generate-before-comment-container hook location, however, it isn’t in the GP hooks list. I could use the after content hook, however, I already have coding in that hook, and would rather split them up. How do I add PHP to the before comment container hook??
Go to Appearance > GeneratePress – and activate the Elements module.
This will replace the old headers and hooks modules. Any existing Page Headers or Hooks will be in Appearance > Elements under the Legacy Tabs. Do not deactivate the old Page Header or Hooks modules before you convert them to the new version.