media_from_id( int $id, string $size = 'full' )
Retrieve media URL from post id.
Parameters
- $id
-
(Required) Post ID.
- $size
-
(Optional) Media size.
Default value: 'full'
Return
(false|string)
Source
File: header-footer-grid/functions-template.php
Expand full source code Collapse full source code View on Github