pre_current_active_plugins action-hook . WP 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', 'action_function_name_2652' ); function action_function_name_2652( $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
wp-admin/plugins.php 755
do_action( 'pre_current_active_plugins', $plugins['all'] );