pre_current_active_plugins action-hookWP 3.0.0

Fires before the plugins list table is rendered.

This hook also fires before the plugins list table is rendered in the Network Admin.

Please note: The 'active' portion of the hook name does not refer to whether the current view is for active plugins, but rather all plugins actively-installed.

Usage

add_action( 'pre_current_active_plugins', 'wp_kama_pre_current_active_plugins_action' );

/**
 * Function for `pre_current_active_plugins` action-hook.
 * 
 * @param array[] $plugins_all An array of arrays containing information on all installed plugins.
 *
 * @return void
 */
function wp_kama_pre_current_active_plugins_action( $plugins_all ){

	// action...
}
$plugins_all(array[])
An array of arrays containing information on all installed plugins.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-admin/plugins.php
pre_current_active_plugins
wp-admin/plugins.php 787
do_action( 'pre_current_active_plugins', $plugins['all'] );

Where the hook is used in WordPress

Usage not found.