Created
July 5, 2016 19:43
-
-
Save ewistrand/d4c096dfa140fc38760e7b1fc59547ac to your computer and use it in GitHub Desktop.
Add text to featured image metabox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** CHANGE FEATURED IMAGE META BOX CONTENT **/ | |
add_filter( 'admin_post_thumbnail_html', 'add_featured_image_instruction'); | |
function add_featured_image_instruction( $content ) { | |
$content .= '<p><i>The featured image should be 1920x665 pixels</i></p>'; | |
return $content; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment