Home › Forums › Backend Issues (wp-admin) › page_link empty when adding layout via hook › Reply To: page_link empty when adding layout via hook
Hi @Jonathan.
There is no difference.
When I export the working page_link element from the GUI I get this code:
array (
'key' => 'field_557ff199ab6a8',
'label' => 'Link_aus_GUI',
'name' => 'link_aus_gui',
'type' => 'page_link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array (),
'taxonomy' => array (),
'allow_null' => 0,
'multiple' => 0,
),
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.