Hi. The programmer who wrote my IDX software has created a version that works on AMP pages and particularly weeblrAMP. But while it words perfectly with the official AMP plugin, pages don't display with WeeblrAMP. Here is the code he is using. Can you tell me how the hook needs to be changed to make this work? I am working with Rover and other companies beta testing software they have redesigned to work with weeblrAMP and you help would be appreciated. Here is my last communication with the programmer. Thanks in advance for your help:
I do have weeblrAMP support. It must be the wrong hook.
# weeblrAMP is activated
# By WeeblrPress
# https://www.weeblrpress.com/accelerated-mobile-pages/weeblramp
if (class_exists('Weeblramp_Api') && Weeblramp_Api::isAMPRequest())
return true;
I do have weeblrAMP support. It must be the wrong hook.
# weeblrAMP is activated
# By WeeblrPress
# https://www.weeblrpress.com/accelerated-mobile-pages/weeblramp
if (class_exists('Weeblramp_Api') && Weeblramp_Api::isAMPRequest())
return true;