Summery Summery
Retrieves the legacy media library form in an iframe.
Syntax Syntax
Return Return
(string|null)
Source Source
File: wp-admin/includes/media.php
return $id; } // Store the original attachment source in meta. add_post_meta( $id, '_source_url', $file ); // If attachment ID was requested, return it. if ( 'id' === $return ) { return $id; } $src = wp_get_attachment_url( $id ); } // Finally, check to make sure the file has been saved, then return the HTML.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |