apply_filters( ‘theme_install_actions’, string[] $actions, stdClass $theme )

In this article

Filters the install action links for a theme in the Install Themes list table.

Parameters

$actionsstring[]
An array of theme action links. Defaults are links to Install Now, Preview, and Details.
$themestdClass
An object that contains theme data returned by the WordPress.org API.

Source

$actions = apply_filters( 'theme_install_actions', $actions, $theme );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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