Support

Account

Home Forums Bug Reports [5.0.6] Missing fields in get_fields($post_id); Reply To: [5.0.6] Missing fields in get_fields($post_id);

  • Did another small test

    while ( has_sub_field('blocks') ) :
    	print_r(get_sub_field('title'));
    	print_r(get_sub_field('content'));
    
    endwhile;

    Shows only the title.
    While using
    get_post_meta($post->ID)

    Shows the content key in the array

        [blocks_0_content] => Array
            (
                [0] => Bla bla bla
            )
    
        [_blocks_0_content] => Array
            (
                [0] => field_53fc61e4d4240
            )