wpseek.com
A WordPress-centric search engine for devs and theme authors



post_embed_url › WordPress Filter Hooks

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 sanitize_url( apply_filters( 'post_embed_url', $embed_url, $post ) );