首页 WordPress函数大全 get_themes()

get_themes()

2020-05-01 / 2753阅 / 悠然

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

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

get_themes()

Retrieve list of themes with theme data in theme directory.

描述

The theme is broken, if it doesn’t have a parent theme and is missing either style.css and, or index.php. If the theme has a parent theme then it is broken, if it is missing style.css; index.php is optional.

See also See also

  • wp_get_themes()

返回

(array) Theme list with theme data.

大家谈论
    我的见解