Is it fine if I added a new image gallery like
if(isset($tab_array['post_images'])){
$new_tab_array['post_images'] = $tab_array['post_images'];// set in new array
unset($tab_array['post_images']);//unset in old one
}
Also would the fact that I have no child theme change or add the code in?