wpseek.com
WordPress开发者和主题制作者的搜索引擎



theme_install_actions › WordPress过滤钩子

Since3.4.0
已弃用n/a
apply_filters( 'theme_install_actions', $actions, $theme )
参数: (2)
  • (string[]) $actions An array of theme action links. Defaults are links to Install Now, Preview, and Details.
    Required: Yes
  • (stdClass) $theme An object that contains theme data returned by the WordPress.org API.
    Required: Yes
定义在:
文档:

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





源码

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