media_from_url( string $url, string $size = 'full' )
Retrieve media from attachment url.
Parameters
- $url
-
(Required) The attachment url.
- $size
-
(Optional) The media size.
Default value: 'full'
Return
(string|false)
Source
File: header-footer-grid/functions-template.php
Expand full source code Collapse full source code View on Github