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.


Top ↑

Parameters

$plugins_all

(array[])An array of arrays containing information on all installed plugins.


Top ↑

Source

File: wp-admin/plugins.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.