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

Gets the featured image URL for the post.


Description Description


Parameters Parameters

$post_id

(Optional) Post ID. Default 0.

$size

(Optional) The size of the image. Default 'full'.

Default value: 'full'


Top ↑

Return Return

(string) The featured image url.


Top ↑

Source Source

File: includes/ld-wp-editor.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.