WPDev.one
Core Function
View Source on Trac ↗

get_upload_iframe_src()

get_upload_iframe_src( mixed $type = null, mixed $post_id = null, mixed $tab = null )

Retrieves the upload iframe source URL.

Parameters 0 required

Name / Type Description
$type
string

Media type.

$post_id
int

Post ID.

$tab
string

Media upload tab.

Return Value

(string)
Upload iframe source URL.

Function Information

Since Version
3.0.0
Source File
wp-admin/includes/media.php
Advertisement