Switch language

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




_rotate_image_resource [ WordPress Function ]

_rotate_image_resource ( $img, $angle )
Defined at:



No description yet.

Source


<?php
function _rotate_image_resource($img$angle) {
    if ( 
function_exists('imagerotate') ) {
        
$rotated imagerotate($img$angle0);
        if ( 
is_resource($rotated) ) {
            
imagedestroy($img);
            
$img $rotated;
        }
    }
    return 
$img;
}
?>

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