$modif, __("License for multimediatisation", ATC_TEXT_DOMAIN) => $multi, __("License for localisation", ATC_TEXT_DOMAIN) => $local, __("License for distribution", ATC_TEXT_DOMAIN) => $distrib ); $this->contentLicense = $license; } public function on_add_meta_boxes() { add_meta_box( 'atc-License' , __('AllTheContent license', ATC_TEXT_DOMAIN) , array($this, 'render_meta_box_contentLicense') , 'post' , 'advanced' , 'high' ); } /** * Render Meta Box content */ public function render_meta_box_contentLicense() { if($this->contentLicense != null) { echo ""; foreach ( $this->contentLicense as $type => $value ){ echo ""; } echo "
".$type."  ".$value."
"; } } }} ?>