Support

Account

Home Forums General Issues Repeater vs Flexible Content Reply To: Repeater vs Flexible Content

  • As long as a layout is not repeated, yes.

    The value stored in the database for a flex field is an array of layout names. If you use

    
    $layouts = get_post_meta($post_id, 'flex_field_name', true);
    

    to get this value the result will be this array. The index containing the layout name will be the row of the flex field you are looking for.