do_action( 'pre_current_active_plugins', array[] $plugins_all )
- Since
- 3.0.0
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.
Compatibility
- WordPress
- since 3.0.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$plugins_allarray[]- An array of arrays containing information on all installed plugins.
Where this hook fires · 1
wp-admin/plugins.php:800file scope
Source code
* 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. */do_action( 'pre_current_active_plugins', $plugins['all'] );?> <?php $wp_list_table->views(); ?> <form class="search-form search-plugins" method="get"><?php $wp_list_table->search_box( __( 'Search installed plugins' ), 'plugin' ); ?>Changelog
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.