theme_install_actions

过滤钩子


apply_filters( 'theme_install_actions', $actions, $theme )
参数
  • (string[])
    $actions
    An array of theme action links. Defaults are
    links to Install Now, Preview, and Details.
    Required:
  • (stdClass)
    $theme
    An object that contains theme data returned by the
    WordPress.org API.
    Required:
定义位置
  • wp-admin/includes/class-wp-theme-install-list-table.php
    , line 359
引入
3.4.0
弃用

Filters the install action links for a theme in the Install Themes list table.

$actions = apply_filters( 'theme_install_actions', $actions, $theme );