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 |
---|---|
390 | <?php screen_icon(); ?> |
391 | <h2><?php echo esc_html( $title ); |
392 | if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> |
393 | <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="button add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> |
394 | <?php } |
395 | if ( $s ) |
396 | printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> |
397 | </h2> |
398 |
|
399 | <?php do_action( 'pre_current_active_plugins', $plugins['all'] ) ?> |
400 |
|
401 | <?php $wp_list_table->views(); ?> |
402 |
|
403 | <form method="post" action=""> |
404 |
|
405 | <?php $wp_list_table->search_box( __( 'Search Plugins' ), 'plugin' ); ?> |
406 |
|
407 | <input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" /> |
408 | <input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" /> |