Support

Account

Forum Replies Created

  • Hi John,

    Thanks for this managed to get everything sorted and is now saving all values!

    Thanks for all your help!

  • Stripped back it looks like this :-

    
    <input type="text" name="<?php echo esc_attr($field['name']) ?>image" id="image_url"
                           class="regular-text"
                           value="<?php echo esc_attr($field['value']['image']) ?>">
    
    echo '<input type="text" id="pin_json"  name="' . esc_attr($field['name']) . 'json' . '"  value="' . esc_attr($field['value']['json']) . '"  /> ';
    
    

    Also modified the value to store an array that looks like this.

    
       [value] => Array
            (
                [image] => 
                [json] => 
            )
    

    But it still wont save my values 🙁 !

Viewing 2 posts - 1 through 2 (of 2 total)