Action hook 'pre_current_active_plugins'

in WP Core File wp-admin/plugins.php at line 787

Description

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.

Occurrences

Filename Line Number
wp-admin/plugins.php 787

Parameters

Type Name Description
array[] $plugins_all An array of arrays containing information on all installed plugins.

PHP Doc

/**
 * 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.
 *
 * @since 3.0.0
 *
 * @param array[] $plugins_all An array of arrays containing information on all installed plugins.
 */