wphooks.info - update_theme_complete_actions

update_theme_complete_actions

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/class-theme-upgrader-skin.php:
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
		$update_actions['themes_page'] = '<a href="' . self_admin_url( 'themes.php' ) . '" target="_parent">' . __( 'Return to Themes page' ) . '</a>';

		/**
		 * 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.
		 */
		$update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme );

		if ( ! empty( $update_actions ) ) {
			$this->feedback( implode( ' | ', (array) $update_actions ) );
		}
	}
}