all_themes

过滤钩子


apply_filters( 'all_themes', wp_get_themes()
参数
  • (WP_Theme[])
    $all
    Array of WP_Theme objects to display in the list table.
    Required:
定义位置
  • wp-admin/includes/class-wp-ms-themes-list-table.php
    , line 113
引入
3.1.0
弃用

Filters the full array of WP_Theme objects to list in the Multisite
themes list table.

'all'      => apply_filters( 'all_themes', wp_get_themes() ),