do_action( “install_plugins_pre_{$tab}” )

In this article

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

Source

do_action( "install_plugins_pre_{$tab}" );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.