Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: editable_slug

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
274           return;
275
276      $title = esc_textarea( trim( $post->post_title ) );
277
278      /** This filter is documented in wp-admin/edit-tag-form.php */
279      echo '
280 <div class="hidden" id="inline_' . $post->ID . '">
281      <div class="post_title">' . $title . '</div>' .
282      /** This filter is documented in wp-admin/edit-tag-form.php */
283      '<div class="post_name">' . apply_filters( 'editable_slug', $post->post_name, $post ) . '</div>
284      <div class="post_author">' . $post->post_author . '</div>
285      <div class="comment_status">' . esc_html( $post->comment_status ) . '</div>
286      <div class="ping_status">' . esc_html( $post->ping_status ) . '</div>
287      <div class="_status">' . esc_html( $post->post_status ) . '</div>
288      <div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div>
289      <div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div>
290      <div class="aa">' . mysql2date( 'Y', $post->post_date, false ) . '</div>
291      <div class="hh">' . mysql2date( 'H', $post->post_date, false ) . '</div>
292      <div class="mn">' . mysql2date( 'i', $post->post_date, false ) . '</div>