pre_current_active_plugins WordPress Action Hook
The pre_current_active_plugins hook is a WordPress hook that is called before the current active plugins are retrieved. This hook can be used to modify the current active plugins array.
do_action( 'pre_current_active_plugins', array[] $plugins_all ) #
Fires before the plugins list table is rendered.
Description
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.
Parameters
- $plugins_all
(array[])An array of arrays containing information on all installed plugins.
Source
File: wp-admin/plugins.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |