Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $group_key = 'huis_1_test';
- $sub_field_key = 'huis_1_featured_sf';
- $group_values = rwmb_meta( $group_key, ['object_type' => 'setting'], 'website' );
- print_r ($group_values);
- foreach ( $group_values as $index=>$group_value ) {
- $value = ( $index == $sub_field_key ? $group_value : '' );
- print_r($value); // Display sub-field value
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement