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 |
|---|---|
| 289 | $post_type_object = get_post_type_object($post->post_type); |
| 290 | if ( ! current_user_can( 'edit_post', $post->ID ) ) |
| 291 | return; |
| 292 | |
| 293 | $title = esc_textarea( trim( $post->post_title ) ); |
| 294 | |
| 295 | echo ' |
| 296 | <div class="hidden" id="inline_' . $post->ID . '"> |
| 297 | <div class="post_title">' . $title . '</div> |
| 298 | <div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div> |
| 299 | <div class="post_author">' . $post->post_author . '</div> |
| 300 | <div class="comment_status">' . esc_html( $post->comment_status ) . '</div> |
| 301 | <div class="ping_status">' . esc_html( $post->ping_status ) . '</div> |
| 302 | <div class="_status">' . esc_html( $post->post_status ) . '</div> |
| 303 | <div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div> |
| 304 | <div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div> |
| 305 | <div class="aa">' . mysql2date( 'Y', $post->post_date, false ) . '</div> |
| 306 | <div class="hh">' . mysql2date( 'H', $post->post_date, false ) . '</div> |
| 307 | <div class="mn">' . mysql2date( 'i', $post->post_date, false ) . '</div> |