Deprecated: 自3.3.0版本起,已不建议使用contextual_help

Deprecated: 自3.3.0版本起,已不建议使用contextual_help,请换用get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()。

add_filter( 'contextual_help', '__return_empty_string', 999 );

改为:

function wpse50787_remove_contextual_help() {
	$screen = get_current_screen();
	$screen->remove_help_tabs();
}
add_action( 'admin_head', 'wpse50787_remove_contextual_help' );

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注