post_supports_amp

This function has been deprecated. Use amp_is_post_supported() instead.

post_supports_amp( WP_Post $post )

Description #

Determine whether a given post supports AMP.


Parameters #

$post

(Required) Post.


Return #

(bool) Whether the post supports AMP.


Changelog #

Changelog
Version Description
2.0 Renamed to AMP-prefixed version, amp_is_post_supported().
0.6 Returns false when post has meta to disable AMP.
0.1 Introduced.