Definition:
function get_upload_iframe_src($type) {}
Parameters
- $type
Defined filters
- $type_upload_iframe_src
apply_filters($type . '_upload_iframe_src', $upload_iframe_src)
Source code
function get_upload_iframe_src($type) { global $post_ID, $temp_ID; $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); $upload_iframe_src = add_query_arg('post_id', $uploading_iframe_ID, 'media-upload.php'); if ( 'media' != $type ) $upload_iframe_src = add_query_arg('type', $type, $upload_iframe_src); $upload_iframe_src = apply_filters($type . '_upload_iframe_src', $upload_iframe_src); return add_query_arg('TB_iframe', true, $upload_iframe_src); }
1873
No comments yet... Be the first to leave a reply!