in_theme_update_message-{$theme_key}

Advertisement

Summery Summery

Fires at the end of the update message container in each row of the themes list table.

Syntax Syntax

do_action( "in_theme_update_message-{$theme_key}", WP_Theme $theme, array $response )

Description Description

The dynamic portion of the hook name, $theme_key, refers to the theme slug as found in the WordPress.org themes repository.

Parameters Parameters

$theme

The WP_Theme object.

$response

An array of metadata about the available theme update.

  • 'new_version'
    (string) New theme version.
  • 'url'
    (string) Theme URL.
  • 'package'
    (string) Theme update package URL.

Source Source

File: wp-admin/includes/update.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply