Accessing data from complex fields
-
Hi,
Since version 2 was introduced I am unable to access any of my meta data that was created from my complex field in version 1.Using the example from the docs:
Container::make( ‘post_meta’, ‘Slider Data’ )
->where( ‘post_type’, ‘=’, ‘page’ )
->add_fields( array(
Field::make( ‘complex’, ‘slides’ )->add_fields( array(…..I was able to just do something like:
$data = carbon_get_post_meta( get_the_ID(), ‘slides’, ‘complex’ );
print_r($data) or var_dump($data) to get the array of information and go from there. Now all my complex fields return false. Can someone tell me how to accurately grab all of the info from a complex field? Multiple group complex preferably.Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Accessing data from complex fields’ is closed to new replies.