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
2072 <div class="media-item media-blank">
2073 <?php
2074 /**
2075  * Filter the insert media from URL form HTML.
2076  *
2077  * @since 3.3.0
2078  *
2079  * @param string $form_html The insert from URL form HTML.
2080  */
2081 echo apply_filters( 'type_url_form_media', wp_media_insert_url_form( $type ) );
2082 ?>
2083 </div>
2084 </div>
2085 </form>
2086 <?php
2087 }
2088
2089 /**
2090  * Adds gallery form to upload iframe