[Resolved] accidentally deactivated GP Hooks before migrating.

Home Forums Support [Resolved] accidentally deactivated GP Hooks before migrating.

Home Forums Support accidentally deactivated GP Hooks before migrating.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    #743384
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Add this to your wp-config.php file:

    define( 'GENERATE_HOOKS', true );

    That’ll bring it back ๐Ÿ™‚

    #743413
    robert

    Awesome, thanks!

    #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

    #743923
    Tom
    Lead Developer
    Lead Developer

    Yes, it’s supposed to activate the module.

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

    #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

    #744348
    Tom
    Lead 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

    #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!

    #744894
    Tom
    Lead Developer
    Lead Developer

    Thank you! Glad I could help ๐Ÿ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.