Hi,
Is there any way to get all field values into a public array and filter with page id in front end
Ex:
$meta_boxes = apply_filters( 'rwmb_meta_boxes', array() );
Output
Dump of Extended $meta_boxes_fields
object(stdClass)[600]
public 'head_home' => string 'Home'
public 'description_home' => string '<p> About Content</p>'
public 'head_about' => string 'Home'
public 'description_about' => string '<p> About Content</p>'
public 'gallery' =>
array
0 => string '56' (length=2)
1 => string '44' (length=2)
2 => string '42' (length=2)
3 => string '18' (length=2)
I want to Extended the $meta_boxes array like this or another way.
Home page
Dump of Extended $meta_boxes_fields in home
object(stdClass)[600]
public 'head_home' => string 'Home'
public 'description_home' => string '<p> Home Content</p>'
echo $meta_boxes_fields->head_home;
echo $meta_boxes_fields->description_home;
About page
Dump of Extended $meta_boxes_fields in About page
public 'head_about' => string 'Home'
public 'description_about' => string '<p> About Content</p>'
public 'gallery' =>
array
0 => string '56' (length=2)
1 => string '44' (length=2)
2 => string '42' (length=2)
3 => string '18' (length=2)
echo $meta_boxes_fields->head_about;
echo $meta_boxes_fields->description_about;
$gallery = $meta_boxes_fields->gallery;
I want like this. Is it possible ?
Thank you very much.