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



admin_post_thumbnail_html ›

Desde4.6.0
Obsoleton/a
apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id )
Parâmetros: (3)
  • (string) $content Admin post thumbnail HTML markup.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (int|null) $thumbnail_id Thumbnail attachment ID, or null if there isn't one.
    Required: Yes
Definido em:
Codex:

Filters the admin post thumbnail HTML markup to return.





Fonte

return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id );