Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: uploading_iframe_src

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
190 <input name="referredby" type="hidden" id="referredby" value="<?php echo $sendto; ?>" />
191 </p>
192
193 <?php do_action('edit_page_form'); ?>
194
195 <?php
196 if (current_user_can('upload_files')) {
197      $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID);
198      $uploading_iframe_src = wp_nonce_url("inline-uploading.php?action=view&amp;post=$uploading_iframe_ID", 'inlineuploading');
199      $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
200      if ( false != $uploading_iframe_src )
201           echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
202 }
203 ?>
204
205 <div id="advancedstuff" class="dbx-group">
206
207 <fieldset id="postcustom" class="dbx-box">
208 <h3 class="dbx-handle"><?php _e('Custom Fields') ?></h3>