amp_is_post_supported

amp_is_post_supported( WP_Post|int $post )

Description #

Determine whether a given post supports AMP.

See also

  • {@see AMP_Post_Type_Support::get_support_errors()}

Parameters #

$post

(Required) Post.


Return #

(bool) Whether the post supports AMP.


Changelog #

Changelog
Version Description
2.0 Introduced.