theme_install_actions filter-hook . WP 3.4.0
Filters the install action links for a theme in the Install Themes list table.
Usage
add_filter( 'theme_install_actions', 'filter_function_name_4359', 10, 2 ); function filter_function_name_4359( $actions, $theme ){ // filter... return $actions; }
- $actions(array)
- An array of theme action hyperlinks.
Default: are links to Install Now, Preview, and Details - $theme(WP_Theme)
- Theme object.
Where the hook is called
theme_install_actions
wp-admin/includes/class-wp-theme-install-list-table.php 300
$actions = apply_filters( 'theme_install_actions', $actions, $theme );