sfw_create_preview_img

Description

Creates Preview img html

Since: 1.0.0

Code

<?php function sfw_create_preview_img( $post, $args = array(100, 100) ){ 
	 … 
 } ?>

Parameter

$post
(WP_Post)
$args
(array) Array with the desired image dimensions array( width, height )

Default: array(100, 100)

Return

(string) html

File

core/includes/functions-previews.php