Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: type_url_form_media

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
2179 <div class="media-item media-blank">
2180 <?php
2181 /**
2182  * Filters the insert media from URL form HTML.
2183  *
2184  * @since 3.3.0
2185  *
2186  * @param string $form_html The insert from URL form HTML.
2187  */
2188 echo apply_filters( 'type_url_form_media', wp_media_insert_url_form( $type ) );
2189 ?>
2190 </div>
2191 </div>
2192 </form>
2193 <?php
2194 }
2195
2196 /**
2197  * Adds gallery form to upload iframe