Add noopener noreferrer to ACF Link Field

<?php
$link = get_field( 'link' );
$target = ! empty( $link['target'] ) ? ' target="' . $link['target'] . '"' : '';

if ( $target == '_blank' ) {
	$target .= ' rel="noopener noreferrer"';
}
?>

<a href="<?php echo esc_url( $link['url'] ); ?>"<?php echo $target; ?>>
	<?php echo esc_html( $link['title'] ); ?>
</a>