Support

Account

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,
    ),