Codex Neve
  • Developer Documentation
  • Visual Guide

Codex Neve

Search the Code Reference for more information about Neve's hooks.

Skip to content
Filter by type:
Search
Browse: Home / Functions / media_from_url()

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


Related

Used By

Used By
Used By Description
header-footer-grid/functions-template.php: get_media()

Utility method to return media url.

© Vertigo Studio SRL 2025