Browse: Home / Functions /

learndash_get_thumb_url

learndash_get_thumb_url( int $post_id,  string $size = 'full' )

Gets the featured image URL for the post.


Description #


Parameters #

$post_id

(int) (Optional) Post ID. Default 0.

$size

(string) (Optional) The size of the image.

Default value: 'full'


Return #

(string) The featured image url.


Source #

File: includes/ld-wp-editor.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.