do_action( “install_themes_pre_{$tab}” )

In this article

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

do_action( "install_themes_pre_{$tab}" );

Changelog

VersionDescription
6.1.0Added the install_themes_pre_block-themes hook name.
2.8.0Introduced.

User Contributed Notes

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