Filters the upload iframe source URL for a specific media type.
The dynamic portion of the hook name, $type, refers to the type of media uploaded.
Possible hook names include:
image_upload_iframe_srcmedia_upload_iframe_src$upload_iframe_srcstring
$upload_iframe_src = apply_filters( "{$type}_upload_iframe_src", $upload_iframe_src );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/type_upload_iframe_src