install_plugins_upload
Fires after the plugins list table in each tab of the Install Plugins screen.
This is one of the variants of the dynamic hook install_plugins_(tab)
Usage
add_action( 'install_plugins_upload', 'wp_kama_install_plugins_upload_action' );
/**
* Function for `install_plugins_upload` action-hook.
*
* @param int $paged The current page number of the plugins list table.
*
* @return void
*/
function wp_kama_install_plugins_upload_action( $paged ){
// action...
}
- $paged(int)
- The current page number of the plugins list table.
Changelog
| Since 2.7.0 | Introduced. |
Where the hook is called
In file: /wp-admin/plugin-install.php
install_plugins_upload
wp-admin/plugin-install.php 200
do_action( "install_plugins_{$tab}", $paged );
wp-admin/plugin-install.php 172
do_action( 'install_plugins_upload' );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 100
add_action( 'install_plugins_upload', 'install_plugins_upload' );