get_upload_iframe_src [ WordPress Function ]
get_upload_iframe_src ( $type = null, $post_id = null, $tab = null )
| Defined at: |
|
Soorgelijke functies: check_upload_mimes, get_uploaded_header_images, get_blog_id_from_url, media_upload_form, media_upload_library
No description yet.
Source
<?php
function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) {
global $post_ID;
if ( empty( $post_id ) )
$post_id = $post_ID;
$upload_iframe_src = add_query_arg( 'post_id', (int) $post_id, admin_url('media-upload.php') );
if ( $type && 'media' != $type )
$upload_iframe_src = add_query_arg('type', $type, $upload_iframe_src);
if ( ! empty( $tab ) )
$upload_iframe_src = add_query_arg('tab', $tab, $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);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- get_upload_iframe_src (WordPress Function) - WPSeek.com
WordPress lookup for get_upload_iframe_src, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - get_upload_iframe_src | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_upload_iframe_src($type) { global $post_ID, $temp_ID; $ uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID) ...
hitchhackerguide.com - get_upload_iframe_src
Function and Method Cross Reference. get_upload_iframe_src(). Defined at: /wp -admin/includes/media.php -> line 393. Referenced 5 times: ...
phpxref.ftwr.co.uk - How to display a custom post type's media library inline on meta box
Jan 16, 2012... $post_ID = $post->ID; // global used by get_upload_iframe_src printf( "<iframe frameborder='0' src=' %s ' style='width: 100%%; height: 500px ...
wordpress.stackexchange.com