'',
			'link_class'      => '',
			'link_title'      => '',
			'link_aria_label' => '',
			'single'          => false,
		];
		$options = array_merge( $default_options, $options );
		$this->name            = $name;
		$this->content         = $content;
		$this->link_content    = $link_content;
		$this->tab_class       = $options['tab_class'];
		$this->link_class      = $options['link_class'];
		$this->link_title      = $options['link_title'];
		$this->link_aria_label = $options['link_aria_label'];
		$this->single          = $options['single'];
	}
	/**
	 * Returns the html for the tab link.
	 *
	 * @return string
	 */
	public function link() {
		$html = '
%6$s';
		if ( $this->single ) {
			$html = '%6$s';
		}
		return sprintf(
			$html,
			esc_attr( $this->name ),
			( $this->tab_class !== '' ) ? ' ' . esc_attr( $this->tab_class ) : '',
			( $this->link_class !== '' ) ? ' ' . esc_attr( $this->link_class ) : '',
			( $this->link_title !== '' ) ? ' title="' . esc_attr( $this->link_title ) . '"' : '',
			( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '',
			$this->link_content
		);
	}
	/**
	 * Returns the html for the tab content.
	 *
	 * @return string
	 */
	public function content() {
		return sprintf(
			'%3$s
',
			esc_attr( 'wpseo_' . $this->name ),
			esc_attr( $this->name ),
			$this->content
		);
	}
}