image_upload_iframe_src
image_upload_iframe_src
Appears in: custom-field-template.2.4, custom-field-template.2.4.3, custom-field-template.2.4.4, custom-field-template.2.4.5, custom-field-template.2.4.7, custom-field-template.2.4.8, custom-field-template.2.4.9, custom-field-template.2.5, custom-field-template.2.5.1, custom-field-template.2.5.2, custom-field-template.2.5.3, custom-field-template.2.5.4, custom-field-template.2.5.6, custom-field-template.2.5.7, custom-field-template.2.5.8, custom-field-template.2.5.9, custom-field-template.2.6.1, custom-field-template.2.6.5, custom-field-template.2.7.4
Hook Type: filter
Displaying hooks found in version: custom-field-template.2.7.4apply_filters('image_upload_iframe_src') is found 2 times:
- /custom-field-template.php line 237023662367236823692370237123722373237423752376
$media_upload_iframe_src
=
"media-upload.php"
;
if
(
substr
(
$wp_version
, 0, 3) <
'3.3'
) :
if
( !
$mediaOffImage
) :
$image_upload_iframe_src
= apply_filters(
'image_upload_iframe_src'
,
"$media_upload_iframe_src?type=image"
);
$image_title
= __(
'Add an Image'
);
$media
.=
"<a href=\"{$image_upload_iframe_src}&TB_iframe=true\" id=\"add_image{$rand}\" title='$image_title' onclick=\"focusTextArea('"
.
$textarea_id
.
"'); jQuery(this).attr('href',jQuery(this).attr('href').replace('\?','?post_id='+jQuery('#post_ID').val())); return thickbox(this);\"><img src='images/media-button-image.gif' alt='$image_title' /></a> "
;
endif
;
if
( !
$mediaOffVideo
) :
$video_upload_iframe_src
= apply_filters(
'video_upload_iframe_src'
,
"$media_upload_iframe_src?type=video"
);
$video_title
= __(
'Add Video'
);
- /custom-field-template.php line 25332530253125322533253425352536253725382539
if
(
$relation
== true )
$tab
=
'gallery'
;
else
$tab
=
'library'
;
$media_upload_iframe_src
=
"media-upload.php"
;
$image_upload_iframe_src
= apply_filters(
'image_upload_iframe_src'
,
"$media_upload_iframe_src?type=image&tab=library"
);
if
(
$mediaPicker
== true ) :
$picker
= __(
' OR '
,
'custom-field-template'
);
$picker
.=
'<a href="'
.
$image_upload_iframe_src
.
'&post_id='
.
$post_id
.
'&TB_iframe=1&tab='
.
$tab
.
'" class="thickbox" onclick="jQuery('
."
'#cft_current_template'
".
').val(jQuery(this).parent().parent().parent().'
;
if
(
$inside_fieldset
)
$picker
.=
'parent().'
;
$picker
.=
'parent().attr(\'id\').replace(\'cft_\',\'\'));jQuery('
.
"'#cft_clicked_id'"
.
').val(jQuery(this).parent().find(\'input\').attr(\'id\'));">'
.__(
'Select by Media Picker'
,
'custom-field-template'
).
'</a>'
;