ControlledChaos
7/30/2016 - 12:38 AM

Give the WordPress post-thumbnail a display name.

Give the WordPress post-thumbnail a display name.

<?php

function ccd_post_thumbnail_display( $sizes ) {
    return array_merge( $sizes, array(
        'post-thumbnail' => __( 'Your Display Name' ),
    ) );
}
add_filter( 'image_size_names_choose', 'ccd_post_thumbnail_display' );

?>

Post Thumbnail Display Name

WordPress Snippet