Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: restrict_manage_posts

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
124 endif;
125 ?>
126
127 <p id="post-search">
128      <label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
129      <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
130      <input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
131 </p>
132
133 <?php do_action('restrict_manage_posts'); ?>
134
135 <div class="tablenav">
136
137 <?php
138 $page_links = paginate_links( array(
139      'base' => add_query_arg( 'paged', '%#%' ),
140      'format' => '',
141      'total' => $wp_query->max_num_pages,
142      'current' => $_GET['paged']