Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#37801 new feature request

Media Functions

Reported by: daniyalahmedk's profile daniyalahmedk Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords: dev-feedback needs-patch
Focuses: Cc:


I think now WordPress should include all media functions, like


I will be really happy to work on it and include them in 4.7

Change History (4)

#1 @SergeyBiryukov
8 years ago

  • Component changed from General to Media

#2 @joemcgill
8 years ago

Hi @daniyalahmedk,

Thank you for the request. I'm curious if you're thinking of functions that would be significantly different from wp_get_attachment_image_url() and wp_get_attachment_image_caption()?

Also, you may want to take a look at the start of conversations about wp_get_attachment_image_alt() on #36735.

There also might be some useful history in #8732.

#3 @daniyalahmedk
7 years ago

Hi @joemcgill

I am thinking about complete media library functions. We are still missing many functions for media for example getting title, format,size,uri,url etc etc.

And some specific functions for audio's and video's. For example getting


got some arguments ($size) which doesn't make any meaning. If we are going to use it for audio's


#4 @desrosj
5 years ago

  • Keywords dev-feedback needs-patch added
Note: See TracTickets for help on using tickets.