protected function getPostTypeObject()
    {
        if ($this->postTypeObj === null) {
            $this->postTypeObj = get_post_type_object($this->getType());
        }

        return $this->postTypeObj;
    }
protected function getPostTypeObject()
    {
        if ($this->postTypeObj === null) {
            $this->postTypeObj = get_post_type_object($this->getType());
        }

        return $this->postTypeObj;
    }
protected function getPostTypeObject ( ) { if ( $ this -> postTypeObj === null ) { $ this -> postTypeObj = get_post_type_object ( $ this -> getType ( ) ) ; } return $ this -> postTypeObj ; }
Get the post type object for this post.

Contains information about the post type of this post.

@return \stdClass
Get the post type object for this post .