<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * @since 2.0
 */
class AC_Column_Link_Target extends AC_Column {

	public function __construct() {
		$this->set_type( 'column-target' );
		$this->set_label( __( 'Target', 'codepress-admin-columns' ) );
	}

	public function get_value( $id ) {
		$bookmark = get_bookmark( $id );

		return $bookmark->link_target;
	}

}
