get_header_values($map , $header_array , $value_array); $this->seopress_import_function($post_values,$type, $post_id, $header_array , $value_array, $hash_key,$gmode,$templatekey); } function seopress_import_function($data_array, $importas, $pID, $header_array , $value_array, $hash_key,$gmode,$templatekey) { $createdFields = $seoPressData = array(); $media_instance = MediaHandling::getInstance(); if (!empty ($data_array)) { foreach ($data_array as $dataKey => $dataValue) { update_post_meta($pID, $dataKey, $dataValue); } } return $createdFields; } }