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



admin_post_thumbnail_html › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id )
Parameters: (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
Defined at:
Codex:

Filters the admin post thumbnail HTML markup to return.





Source

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