Check if this is an AMP enabled post/page
-
Hi,
is there any in-built function within this plugin which I can use in my own shortcode to check if it is a amp page.Lets say I’ve a shortcode and within that I wanna put a
if(amp)
check and if this is a amp page, the shortcode will return something else but if not then it will return normally.Anyone knows any function to do that?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Check if this is an AMP enabled post/page’ is closed to new replies.