Integrates WordPress’ default link picker into Advanced Custom Fields
将WordPress的默认链接选择器集成到“高级自定义字段”中 p>
As of ACF Pro 5.6.0, this field is built-in, so this plugin should not be used.
从ACF Pro 5.6.0开始,此字段是内置的,因此不应使用此插件。 h3>
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.
允许您选择现有内容或输入自定义URL,设置链接标题以及选择是否在新窗口/选项卡中打开链接。 p>
Only works with ACF version 5 and above.
仅适用于ACF版本5及更高版本。 strong>
Requires PHP 5.4 or above.
需要PHP 5.4或更高版本。 strong> p>After saving, you can access your data as an array:
保存后,您可以将数据作为数组访问: p>
array( array( [url] => http://site.com/page/
[url] => http://site.com/page/
[title] => Page!
[title] =>页面!
[target] => 0
[目标] => 0
)
)
code> pre>