get_post_meta( $post->ID, 'atp_custom_pixel', true ), 'atp_custom_pixel_code' => get_post_meta( $post->ID, 'atp_custom_pixel_code', true ), 'text_domain' => Plugin::domain(), ]; //$meta = get_post_meta($post->ID); //var_dump($meta); return Plugin::view( 'metabox', $data ); } public function metadata( $postid ) { } } $metabox = new MetaboxController();