get_post_embed_url()
Retrieves the URL to embed a specific post in an iframe.
Uses: get_permalink()
Used By: get_post_embed_html()
Hooks from the function
Return
String|false
. The post embed URL on success, false if the post doesn't exist.
Usage
get_post_embed_url( $post );
- $post(int|WP_Post)
- Post ID or object.
Default: current post
Changelog
Since 4.4.0 | Introduced. |