install_theme_overwrite_actions WordPress Action Hook

The install_theme_overwrite_actions hook is used to overwrite the default WordPress theme installation actions. This hook is useful for plugin and theme developers who need to customize the default WordPress theme installation process.

apply_filters( 'install_theme_overwrite_actions', string[] $install_actions, object $api, array $new_theme_data ) #

Filters the list of action links available following a single theme installation failure when overwriting is allowed.


Parameters

$install_actions

(string[])Array of theme action links.

$api

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

$new_theme_data

(array)Array with uploaded theme data.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

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