Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_form_advanced

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
180 <input name="referredby" type="hidden" id="referredby" value="<?php
181 if ( !empty($_REQUEST['popupurl']) )
182      echo clean_url(stripslashes($_REQUEST['popupurl']));
183 else if ( url_to_postid(wp_get_referer()) == $post_ID )
184      echo 'redo';
185 else
186      echo clean_url(stripslashes(wp_get_referer()));
187 ?>" /></p>
188
189 <?php do_action('edit_form_advanced'); ?>
190
191 <?php
192 if (current_user_can('upload_files')) {
193      $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
194      $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&amp;tab=upload&amp;post_id=$uploading_iframe_ID", 'inlineuploading');
195      $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
196      if ( false != $uploading_iframe_src )
197           echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
198 }