首页 WordPress函数大全 add_contextual_help()

add_contextual_help()

2020-05-02 / 4156阅 / 悠然

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

Warning:此功能已被弃用。请改用WP_Screen :: add_help_tab()。

add_contextual_help( string $screen, string $help )

为页面添加上下文帮助文本。

描述

创建一个“概述”帮助标签。

See also See also

  • WP_Screen::add_help_tab()

Top ↑

参数

$screen

(string)
(Required)
The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.

$help

(string)
(Required)
The content of an 'Overview' help tab.

大家谈论
    我的见解