Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13522, comment 6


Ignore:
Timestamp:
01/16/2018 06:55:31 PM (7 years ago)
Author:
jeremyclarke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13522, comment 6

    initial v1  
    11This gist has a demo of how to use WP's admin_post_thumbnail_html filter to insert content in featured image metabox. Posting here because someone found me on twitter to ask about the solution and figured anyone else stumbling here would find this useful too:
    22
    3 https://gist.github.com/jeremyclarke/faa6a9da4b0dfe5c524016b40b67a164
     3[EDIT -- UPDATED URL (prev. had 'jeremyclarke' as username]
     4https://gist.github.com/jerclarke/faa6a9da4b0dfe5c524016b40b67a164
     5
    46
    57Contains a bunch of notes about nuances of this filter, which is a bit unpredictable.