HEX
Server: nginx/1.16.1
System: Linux iZ7xv2zauie3qihz0jlnrxZ 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: www (1000)
PHP: 7.2.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/shzthfdcpg.com/wp-content/plugins/dx-seo-tool/extends/meta/class-meta-help.php
<?php

class DX_Seo_Meta_Help {
	
	public $tabs = array(
		 'tips' => array( '操作提示', '<ul><li>metas输入项可以让你十分灵活地设置meta标签,<a href="http://baike.baidu.com/view/953191.htm" target="_blank">点击阅读meta的用法</a></li><li>如果设置了静态页面,则此处的首页title、meta无效,需要在页面中设置。</li></ul>' ),
		 'reference' => array( '概念', '<p>点击阅读:<a href="http://baike.baidu.com/view/706499.htm" target="_blank">title</a>、<a href="http://baike.baidu.com/view/1195113.htm" target="_blank">keywords</a>、<a href="http://baike.baidu.com/view/538066.htm" target="_blank">description</a></p>'),
	);
	public $sidebar = '<p>该功能可以给首页、文章、页面、分类、标签、自定义post type、自定义taxonomy设置title、keywords、description标签。</p>';

	static public function init()
	{
		$class = __CLASS__ ;
		new $class;
	}

	public function __construct()
	{
		$this->add_tabs();
	}

	public function add_tabs()
	{
		$screen = get_current_screen();
		foreach ( $this->tabs as $id => $data )
		{
			$screen->add_help_tab( array(
				 'id'       => $id,
				 'title'    => $data[0],
				 'content'  => $data[1],				 
			) );
		}
		$screen->set_help_sidebar( $this->sidebar );
	}
	
}