do_action( "install_themes_pre_{$tab}" )

Fires before each of the tabs are rendered on the Install Themes page.


Description

The dynamic portion of the hook name, $tab, refers to the current theme installation tab.

Possible hook names include:

  • install_themes_pre_block-themes
  • install_themes_pre_dashboard
  • install_themes_pre_featured
  • install_themes_pre_new
  • install_themes_pre_search
  • install_themes_pre_updated
  • install_themes_pre_upload

Source

File: wp-admin/theme-install.php

View on GitHub


Changelog

Changelog
Version Description
6.1.0 Added the install_themes_pre_block-themes hook name.
2.8.0 Introduced.