Switch language

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




_image_get_preview_ratio [ WordPress Function ]

_image_get_preview_ratio ( $w, $h )
Defined at:



No description yet.

Source


<?php
function _image_get_preview_ratio($w$h) {
    
$max max($w$h);
    return 
$max 400 ? (400 $max) : 1;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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