Hi,
I have noticed that under Hook > Settings there are 2 checkboxes – “Execute PHP” and “Execute shortcodes”.
I want to add a custom PHP code to my pages, which enables me to add a custom shortcode. Therefore, these 2 checkboxes seemed to perfectly fit my use case. However, I have been unable to successfully load my PHP through a Hook – even with these 2 checkboxes enabled. Instead, I was able to make it work through a child theme.
Could you clarify what the purpose of these 2 checkboxes is? Also, is there a way to actually execute PHP with a Hook element. It would be very useful to me because I would like the custom PHP to loaded only on select pages.
I look forward to your reply.
Best regards,
Sal