theme_install_actions WordPress Action Hook
The theme_install_actions hook allows you to add custom actions to the WordPress theme install page. This hook is triggered after the user has clicked the "Install" button on the theme install page.
apply_filters( 'theme_install_actions', string[] $actions , stdClass $theme ) #
Filters the install action links for a theme in the Install Themes list table.
Parameters
- $actions
(string[])An array of theme action links. Defaults are links to Install Now, Preview, and Details.
- $theme
(stdClass)An object that contains theme data returned by the WordPress.org API.
Source
File: wp-admin/includes/class-wp-theme-install-list-table.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |