public function registerPostType()
    {
        $config = $this->getPostTypeConfig();
        if (empty($config)) {
            return;
        }

        register_post_type($this->getPostType(), $config);
    }
public function registerPostType()
    {
        $config = $this->getPostTypeConfig();
        if (empty($config)) {
            return;
        }

        register_post_type($this->getPostType(), $config);
    }
public function registerPostType ( ) { $ config = $ this -> getPostTypeConfig ( ) ; if ( empty ( $ config ) ) { return ; } register_post_type ( $ this -> getPostType ( ) , $ config ) ; }
Register the post type
Override this if you need to
Register the post type Override this if you need to