Title: dashart's Replies | WordPress.org

---

# dashart

  [  ](https://wordpress.org/support/users/dashart/)

 *   [Profile](https://wordpress.org/support/users/dashart/)
 *   [Topics Started](https://wordpress.org/support/users/dashart/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dashart/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dashart/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dashart/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dashart/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dashart/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Suite] loop hyperlink = empty input after save](https://wordpress.org/support/topic/loop-hyperlink-empty-input-after-save/)
 *  Thread Starter [dashart](https://wordpress.org/support/users/dashart/)
 * (@dashart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/loop-hyperlink-empty-input-after-save/#post-4083567)
 * Okay “dirty” workaround for the backend:
    In hyperlink.php (from Plugin “CFS –
   Hyperlink Add-on”) added at line 24:
 *     ```
       // if field is used in a row ... we got each param with an array around
       // so $field->value[0]['url'] and $field->value[1]['text']
       if( empty($field->value['url']) && empty($field->value['text'])
               && !empty($field->value[0]['url']) && !empty($field->value[1]['text']) ) {
            $field->value[0]['text'] = $field->value[1]['text'];
           $field->value = $field->value[0];
       }
       ```
   
 * But frontend not working:
 *     ```
       $links = $cfs->get("external_links");
       var_dump($links);
       ```
   
 * returns only:
    `array(2) { [1]=> array(1) { ["external_link"]=> string(0) "" }[
   2]=> array(1) { ["external_link"]=> string(0) "" } } array(1) { ["external_link"]
   => string(0) "" } array(1) { ["external_link"]=> string(0) "" }`

Viewing 1 replies (of 1 total)