Support » Fixing WordPress » Get custom featured image size of current post

  • pinokio

    (@lapanwebsite)


    I have tried this
    wp_get_attachment_url( get_post_thumbnail_id($post->ID), 'mythumb' );
    Unfortunatelly, it is not returning mythumb, but full image size.

  • The topic ‘Get custom featured image size of current post’ is closed to new replies.