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.


Top ↑

Source

File: wp-admin/includes/class-wp-theme-install-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.