Home › Forums › Support › accidentally deactivated GP Hooks before migrating. This topic has 8 replies, 2 voices, and was last updated 4 years, 6 months ago by Tom. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts November 28, 2018 at 7:54 pm #743372 robert Hi, I accidentally deactivated GP Hooks before migrating everything to elements. I’m hoping you guys could point me in the right direction in activating it again so I can properly migrate everything. Thanks! Robert November 28, 2018 at 8:28 pm #743384 TomLead Developer Lead Developer Hi there, Add this to your wp-config.php file: define( 'GENERATE_HOOKS', true ); That’ll bring it back ๐ November 28, 2018 at 9:27 pm #743413 robert Awesome, thanks! November 28, 2018 at 10:42 pm #743441 robert Is that supposed to make the “legacy hooks” tab be available again as before? I’m a little confused as to where I find all my hooks again. Nothing new under “elements”. http://puu.sh/C9tL2/09f46e9e3b.png November 29, 2018 at 8:38 am #743923 TomLead Developer Lead Developer Yes, it’s supposed to activate the module. Do you see “Hooks” within the module list in “Appearance > GeneratePress”? November 29, 2018 at 6:25 pm #744344 robert I don’t unfortunately ๐ http://puu.sh/C9Vni/de4f3be38f.png edit: and that’s with the snippet included in the wp-config.php ๐ฎ http://puu.sh/C9VqW/3ef3b60090.png November 29, 2018 at 6:30 pm #744348 TomLead Developer Lead Developer Where in wp-config.php did you add that code snippet? I just tested it by adding it above this line: /* That's all, stop editing! Happy blogging. */ Then I refreshed the Elements area and I can see this: https://www.screencast.com/t/A7w5X8IgstPn November 29, 2018 at 8:03 pm #744371 robert That did it! I added it at the very bottom of wp-config, I think that’s why it wasn’t working. Thanks! Robert p.s. you guys are doing amazing work with this theme, hope you guys keep it up! November 30, 2018 at 10:28 am #744894 TomLead Developer Lead Developer Thank you! Glad I could help ๐ Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In