update_theme_complete_actions
Filter HookDescription
Filters the list of action links available following a single theme update.Hook Information
File Location |
wp-admin/includes/class-theme-upgrader-skin.php
View on GitHub
|
Hook Type | Filter |
Line Number | 138 |
Hook Parameters
Type | Name | Description |
---|---|---|
string[]
|
$update_actions
|
Array of theme action links. |
string
|
$theme
|
Theme directory name. |
Usage Examples
Basic Usage
<?php
// Hook into update_theme_complete_actions
add_filter('update_theme_complete_actions', 'my_custom_filter', 10, 2);
function my_custom_filter($update_actions, $theme) {
// Your custom filtering logic here
return $update_actions;
}
Source Code Context
wp-admin/includes/class-theme-upgrader-skin.php:138
- How this hook is used in WordPress core
<?php
133 * @since 2.8.0
134 *
135 * @param string[] $update_actions Array of theme action links.
136 * @param string $theme Theme directory name.
137 */
138 $update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme );
139
140 if ( ! empty( $update_actions ) ) {
141 $this->feedback( implode( ' | ', (array) $update_actions ) );
142 }
143 }
PHP Documentation
<?php
/**
* Filters the list of action links available following a single theme update.
*
* @since 2.8.0
*
* @param string[] $update_actions Array of theme action links.
* @param string $theme Theme directory name.
*/
Quick Info
- Hook Type: Filter
- Parameters: 2
- File: wp-admin/includes/class-theme-upgrader-skin.php
Related Hooks
Related hooks will be displayed here in future updates.