install_theme_complete_actions WordPress Action Hook

The install_theme_complete_actions hook is called when a theme is installed. It allows for additional actions to be performed once the theme is installed. This hook is generally used for installing theme-specific options and settings.

apply_filters( 'install_theme_complete_actions', string[] $install_actions, object $api, string $stylesheet, WP_Theme $theme_info ) #

Filters the list of action links available following a single theme installation.


Parameters

$install_actions

(string[])Array of theme action links.

$api

(object)Object containing WordPress.org API theme data.

$stylesheet

(string)Theme directory name.

$theme_info

(WP_Theme)Theme object.


Top ↑

Source

File: wp-admin/includes/class-theme-installer-skin.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.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.