WordPress开发者和主题制作者的搜索引擎



admin_post_thumbnail_html ›

Since4.6.0
已弃用n/a
apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id )
参数: (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
定义在:
文档:

Filters the admin post thumbnail HTML markup to return.





源码

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