pre_prepare_themes_for_js

最后更新于:2021-11-27 19:43:25

apply_filters( ‘pre_prepare_themes_for_js’, array $prepared_themes, GC_Theme[]|null $themes, string $current_theme )

Filters theme data before it is prepared for JavaScript.

参数

$prepared_themes

(array)
An associative array of theme data. Default empty array.

$themes

(GC_Theme[]|null)
An array of theme objects to prepare, if any.

$current_theme

(string)
The current theme slug.

源文件

文件: gc-admin/includes/theme.php

View on Trac