Site logo

Archived topic

accidentally deactivated GP Hooks before migrating.

8 replies · Started by robert on November 28, 2018

Viewing posts 1–9 of 9

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

Hi there,

Add this to your wp-config.php file:

define( 'GENERATE_HOOKS', true );

That'll bring it back :)

Awesome, thanks!

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

Yes, it's supposed to activate the module.

Do you see "Hooks" within the module list in "Appearance > GeneratePress"?

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

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!

Thank you! Glad I could help :)

This archived topic is closed to new replies.