add_contextual_help()
最后更新于:2021-11-25 19:09:38
add_contextual_help( string$screen, string$help)Add contextual help text for a page.
参数
- $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.
源文件
文件: gc-admin/includes/deprecated.php
function add_contextual_help( $screen, $help ) {
_deprecated_function( __FUNCTION__, '3.3.0', 'get_current_screen()->add_help_tab()' );
if ( is_string( $screen ) )
$screen = convert_to_screen( $screen );
GC_Screen::add_old_compat_help( $screen, $help );
}