WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
214 | <input name="referredby" type="hidden" id="referredby" value="<?php |
215 | if ( !empty($_REQUEST['popupurl']) ) |
216 | echo attribute_escape(stripslashes($_REQUEST['popupurl'])); |
217 | else if ( url_to_postid(stripslashes(wp_get_referer())) == $post_ID ) |
218 | echo 'redo'; |
219 | else |
220 | echo attribute_escape(stripslashes(wp_get_referer())); |
221 | ?>" /></p> |
222 |
|
223 | <?php do_action('edit_form_advanced'); ?> |
224 |
|
225 | <?php |
226 | if (current_user_can('upload_files')) { |
227 | $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); |
228 | $uploading_iframe_src = wp_nonce_url("inline-uploading.php?action=view&post=$uploading_iframe_ID", 'inlineuploading'); |
229 | $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); |
230 | if ( false != $uploading_iframe_src ) |
231 | echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; |
232 | } |