Title: install_plugins_pre_{$tab}
Published: April 25, 2014
Last modified: May 20, 2026

---

# do_action( “install_plugins_pre_{$tab}” )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#description)
 * [Source](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#wp--skip-link--target)

Fires before each tab on the Install Plugins screen is loaded.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#description)󠁿

The dynamic portion of the hook name, `$tab`, allows for targeting individual tabs.

Possible hook names include:

 * `install_plugins_pre_beta`
 * `install_plugins_pre_favorites`
 * `install_plugins_pre_featured`
 * `install_plugins_pre_plugin-information`
 * `install_plugins_pre_popular`
 * `install_plugins_pre_recommended`
 * `install_plugins_pre_search`
 * `install_plugins_pre_upload`

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#source)󠁿

    ```php
    do_action( "install_plugins_pre_{$tab}" );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/plugin-install.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/plugin-install.php#L82)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/plugin-install.php#L82-L82)

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/install_plugins_pre_tab/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.7.0](https://developer.wordpress.org/reference/since/2.7.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Finstall_plugins_pre_tab%2F)
before being able to contribute a note or feedback.