install_plugins_pre_{$tab} WordPress Action Hook

The install_plugins_pre_{$tab} hook is called before the Install Plugins page is loaded. It can be used to add extra tabs to the page.

do_action( "install_plugins_pre_{$tab}" ) #

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


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

Top ↑

Source

File: wp-admin/plugin-install.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.7.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.