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 |
---|---|
320 |
|
321 | <form name="post" action="<?php echo clean_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> |
322 | <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4> |
323 | <div class="input-text-wrap"> |
324 | <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" /> |
325 | </div> |
326 |
|
327 | <?php if ( current_user_can( 'upload_files' ) ) : ?> |
328 | <div id="media-buttons" class="hide-if-no-js"> |
329 | <?php do_action( 'media_buttons' ); ?> |
330 | </div> |
331 | <?php endif; ?> |
332 |
|
333 | <h4 id="content-label"><label for="content"><?php _e('Content') ?></label></h4> |
334 | <div class="textarea-wrap"> |
335 | <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" tabindex="2"><?php echo $post->post_content; ?></textarea> |
336 | </div> |
337 |
|
338 | <script type="text/javascript">edCanvas = document.getElementById('content');edInsertContent = null;</script> |