Uma área de pesquisa sobre o WordPress para devs e autores do tema



post_embed_url ›

Desde4.4.0
Obsoleton/a
apply_filters( 'post_embed_url', $embed_url, $post )
Parâmetros: (2)
  • (string) $embed_url The post embed URL.
    Required: Yes
  • (WP_Post) $post The corresponding post object.
    Required: Yes
Definido em:
Codex:

Filters the URL to embed a specific post.





Fonte

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