首页 WordPress函数大全 remove_theme_support()

remove_theme_support()

2020-05-02 / 2480阅 / 悠然

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

remove_theme_support( string $feature )

允许主题注销其对特定功能的支持

描述

应该在主题的functions.php文件中调用。通常,子主题将用于覆盖父主题的支持。

See also See also

  • add_theme_support()

Top ↑

参数

$feature

(string)
(Required)
The feature being removed.

返回

(bool|void) Whether feature was removed.

大家谈论
    我的见解