Advanced Custom Fields: Link

0

Integrates WordPress’ default link picker into Advanced Custom Fields As of ACF Pro 5.6.0, this field is built-in, so this plugin should not be used. Allows you to select an existing

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

Integrates WordPress’ default link picker into Advanced Custom Fields

As of ACF Pro 5.6.0, this field is built-in, so this plugin should not be used.

Allows you to select an existing piece of content or enter a custom URL, set the link title, and choose whether or not the link should open in a new window/tab.

Only works with ACF version 5 and above.
Requires PHP 5.4 or above.

After saving, you can access your data as an array:

array(
    [url]    => http://site.com/page/
    [title]  => Page!
    [target] => 0
)