Title: Link Field
Published: February 20, 2025
Last modified: February 21, 2025

---

# Link Field

## In this article

 * [Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/?output_format=md#key-features)
 * [Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/?output_format=md#settings)

[ Back to top](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/?output_format=md#wp--skip-link--target)

The Link field provides an interface for creating links with various properties.
It allows users to select internal content, enter external URLs, and set link attributes.

## 󠀁[Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/?output_format=md#key-features)󠁿

 * Internal/external link support
 * Link text customization
 * Target attribute control
 * Internal content picker
 * WordPress link picker integration

## 󠀁[Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/?output_format=md#settings)󠁿

 * Return Format – Array or URL
 * Default Value – Preset link data
 * Display Format – How the link appears in admin

First published

February 20, 2025

Last updated

February 21, 2025

Edit article

[ Improve it on GitHub: Link Field ](https://github.com/wordpress/secure-custom-fields/edit/trunk/docs/features/field/link/index.md)

Changelog

[ See list of changes: Link Field ](https://github.com/wordpress/secure-custom-fields/commits/trunk/docs/features/field/link/index.md)

[  Previous: Using the Image Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/image/image-tutorial/)

[  Next: Using the Link Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/link-tutorial/)