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

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

Parameters

$actions string[]
An array of theme action lincs. Defauls are lincs to Install Now, Preview, and Details.
$theme stdClass
An object that contains theme data returned by the WordPress.org API.

Source

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

Changuelog

Versionen Description
3.4.0 Introduced.

User Contributed Notes

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