src/Meta/Box.php
public function addMetaBox()
    {
        foreach ($this->postTypes as $postType) {
            add_meta_box(
                $this->id,
                $this->title,
                $this->callback,
                $postType,
                $this->context,
                $this->priority
            );
        }
    }
public function addMetaBox()
    {
        foreach ($this->postTypes as $postType) {
            add_meta_box(
                $this->id,
                $this->title,
                $this->callback,
                $postType,
                $this->context,
                $this->priority
            );
        }
    }
public function addMetaBox ( ) { foreach ( $ this -> postTypes as $ postType ) { add_meta_box ( $ this -> id , $ this -> title , $ this -> callback , $ postType , $ this -> context , $ this -> priority ) ; } }
Method that calls the add_meta_box function.
Method that calls the add_meta_box function .