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'
Return Return
(string) The featured image url.
Source Source
File: includes/ld-wp-editor.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |