Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




set_post_thumbnail_size [ WordPress Function ]

set_post_thumbnail_size ( $width = 0, $height = 0, $crop = false )
Defined at:



Registers an image size for the post thumbnail

Source


<?php
function set_post_thumbnail_size$width 0$height 0$crop false ) {
    
add_image_size'post-thumbnail'$width$height$crop );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics