Hooks for insert custom amp
-
Hi.
I follow this tutorial: https://ampforwp.com/tutorials/article/extend-amp-plugin/ to insert a custom element (a iframe) to my blog, and it’s works fine. But I’ve tried to use another hooks (from here: https://ampforwp.com/tutorials/article/hooks-in-ampforwp/#amp-panel-settings-these-hooks-will-run-throughout-the-amp-option-panel) and they doesen’t work.
The ampforwp_after_post_content hook works fine, but I need to use this specifics hooks:
ampforwp_above_related_post or ampforwp_after_social_icons_hookMy theme is Swift.
Why just ampforwp_after_post_content hook works?
Thank you
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hooks for insert custom amp’ is closed to new replies.