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 |
---|---|
519 |
|
520 | <form name="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> |
521 | <div class="input-text-wrap" id="title-wrap"> |
522 | <label class="screen-reader-text prompt" for="title" id="title-prompt-text"><?php _e( 'Enter title here' ); ?></label> |
523 | <input type="text" name="post_title" id="title" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" /> |
524 | </div> |
525 |
|
526 | <?php if ( current_user_can( 'upload_files' ) ) : ?> |
527 | <div id="wp-content-wrap" class="wp-editor-wrap hide-if-no-js wp-media-buttons"> |
528 | <?php do_action( 'media_buttons', 'content' ); ?> |
529 | </div> |
530 | <?php endif; ?> |
531 |
|
532 | <div class="textarea-wrap"> |
533 | <label class="screen-reader-text" for="content"><?php _e( 'Content' ); ?></label> |
534 | <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"><?php echo esc_textarea( $post->post_content ); ?></textarea> |
535 | </div> |
536 |
|
537 | <script type="text/javascript"> |