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



wp_prepare_themes_for_js › WordPress过滤钩子

Since3.8.0
已弃用n/a
apply_filters( 'wp_prepare_themes_for_js', $prepared_themes )
参数:
  • (array) $prepared_themes Array of theme data.
    Required: Yes
定义在:
文档:

Filters the themes prepared for JavaScript, for themes.php.

Could be useful for changing the order, which is by name by default.





源码

$prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes );