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 |
---|---|
666 | <div class='filename new'>$display_title</div> |
667 | <table class='slidetoggle describe $class'> |
668 | <tbody class='media-item-info'> |
669 | <tr> |
670 | <td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td> |
671 | <td>$filename</td> |
672 | </tr> |
673 | <td>$post->post_mime_type</td></tr> |
674 | <tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr> |
675 | <tr><td>" . apply_filters('media_meta', '', $post) . "</tr></td> |
676 | </tbody> |
677 | <tbody>\n"; |
678 |
|
679 | $defaults = array( |
680 | 'input' => 'text', |
681 | 'required' => false, |
682 | 'value' => '', |
683 | 'extra_rows' => array(), |
684 | ); |