sfw_create_preview_url
Description
Create a Preview Url for post from preview url in meta
Since: 1.0.0
Code
<?php function sfw_create_preview_url( $post, $args = array(100, 100) ){
…
} ?>
Parameter
- $post
- (WP_Post)
- $args
- (array) Array with the desired image dimensions array( width, height )
Default: array(100, 100)