Add action hook when displaying page
-
Hi,
I’m trying to execute some code whenever Instapage pages are displayed on my WordPress site. I’d like to do this with an action hook, which I suspect could be easily added to this plugin.
Here’s the change that I’m suggesting:
instapage/models/PageModel.php after line 372 add new line:
do_action(‘instapage_display’);If you have a github repo, I’m happy to contribute via PR!
Thanks!
Jacob
- The topic ‘Add action hook when displaying page’ is closed to new replies.