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



wp_get_update_data ›

Since3.5.0
已弃用n/a
apply_filters( 'wp_get_update_data', $update_data, $titles )
参数: (2)
  • (array) $update_data { Fetched update data. @type array $counts An array of counts for available plugin, theme, and WordPress updates. @type string $update_title Titles of available updates. }
    Required: Yes
  • (array) $titles An array of update counts and UI strings for available updates.
    Required: Yes
定义在:
文档:

Filters the returned array of update data for plugins, themes, and WordPress core.





源码

return apply_filters( 'wp_get_update_data', $update_data, $titles );