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



customize_load_themes › WordPress过滤钩子

Since4.9.0
已弃用n/a
› apply_filters( 'customize_load_themes', $themes, $args, $this )
参数: (3)
  • () themes Nested array or object of theme data.
    Required: Yes
  • () args List of arguments, such as page, search term, and tags to query for.
    Required: Yes
  • () manager Instance of Customize manager.
    Required: Yes
查看:
  • WP_Customize_Manager::__construct()
定义在:
文档:

Filters the theme data loaded in the customizer.

This allows theme data to be loading from an external source, or modification of data loaded from `wp_prepare_themes_for_js()` or WordPress.org via `themes_api()`.




源码

$themes = apply_filters( 'customize_load_themes', $themes, $args, $this );