Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: pre_current_active_plugins

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
678
679 <form method="get" action="">
680 <p class="search-box">
681      <label class="screen-reader-text" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label>
682      <input type="text" id="plugin-search-input" name="s" value="<?php _admin_search_query(); ?>" />
683      <input type="submit" value="<?php esc_attr_e( 'Search Installed Plugins' ); ?>" class="button" />
684 </p>
685 </form>
686
687 <?php do_action( 'pre_current_active_plugins', $all_plugins ) ?>
688
689 <form method="post" action="<?php echo admin_url('plugins.php') ?>">
690 <?php wp_nonce_field('bulk-manage-plugins') ?>
691 <input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" />
692 <input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" />
693
694 <ul class="subsubsub">
695 <?php
696 $status_links = array();