首页 WordPress函数大全 get_theme()

get_theme()

2020-05-01 / 3079阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use wp_get_theme() instead.

get_theme( string $theme )

Retrieve theme data.

描述

See also See also

  • wp_get_theme()

Top ↑

参数

$theme

(string)
(Required)
Theme name.

返回

(array|null) Null, if theme name does not exist. Theme data, if exists.

大家谈论
    我的见解