1
有什么方法可以删除wordpress上的帮助标签? 我正在寻找删除这些标签不要用CSS隐藏它们。删除wordpress上的帮助标签
在wp-admin/includes/screen.php中有几行提到了这一点,但不知道如何创建某些内容来删除帮助选项卡。
有什么办法可以创建类似于:add_filter('screen_options_show_screen', '__return_false');
的东西,但要删除帮助选项卡?
从screen.php文件:
647 /**
648 * Removes a help tab from the contextual help for the screen.
649 *
650 * @since 3.3.0
651 *
652 * @param string $id The help tab ID.
653 */
654 public function remove_help_tab($id) {
655 unset($this->_help_tabs[ $id ]);
656 }
657
658 /**
659 * Removes all help tabs from the contextual help for the screen.
660 *
661 * @since 3.3.0
662 */
663 public function remove_help_tabs() {
664 $this->_help_tabs = array();
665 }
你应该尝试http://wordpress.stackexchange.com – chrisjlee