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 ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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