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 |
|---|---|
| 771 | <div class='filename new'>$display_title</div> |
| 772 | <table class='slidetoggle describe $class'> |
| 773 | <thead class='media-item-info'> |
| 774 | <tr> |
| 775 | <td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td> |
| 776 | <td>$filename</td> |
| 777 | </tr> |
| 778 | <tr><td>$post->post_mime_type</td></tr> |
| 779 | <tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr> |
| 780 | <tr><td>" . apply_filters('media_meta', '', $post) . "</td></tr> |
| 781 | </thead> |
| 782 | <tbody>\n"; |
| 783 | |
| 784 | $defaults = array( |
| 785 | 'input' => 'text', |
| 786 | 'required' => false, |
| 787 | 'value' => '', |
| 788 | 'extra_rows' => array(), |
| 789 | ); |