A WordPress-centric search engine for devs and theme authors



post_embed_url ›

Since4.4.0
Deprecatedn/a
apply_filters( 'post_embed_url', $embed_url, $post )
Parameters: (2)
  • (string) $embed_url The post embed URL.
    Required: Yes
  • (WP_Post) $post The corresponding post object.
    Required: Yes
Defined at:
Codex:

Filters the URL to embed a specific post.





Source

return esc_url_raw( apply_filters( 'post_embed_url', $embed_url, $post ) );