Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: How to disable GP Hooks for a specific page?

Home Forums Support How to disable GP Hooks for a specific page? Reply To: How to disable GP Hooks for a specific page?

Home Forums Support How to disable GP Hooks for a specific page? Reply To: How to disable GP Hooks for a specific page?

#108292
Jean Paiva
Developer

Hey Philippe, try this:

<?php if ( is_page(X) ) return; ?>

You can place this before the content of each hook that you have. Make sure to check “Execute PHP”.

The X value inside the “is_page(X)” is the ID of the page that you don’t want to show the hook.