VersionPress\ChangeInfos\EntityChangeInfo::getParentId PHP Method

getParentId() public method

For example EntityChangeInfo representing change in postmeta returns VPID of the related post.
public getParentId ( ) : string | null
return string | null
    public function getParentId()
    {
        if ($this->entityInfo->parentReference) {
            $tagContainingParentId = $this->actionsInfo->getTagContainingParentId();
            return $this->getCustomTags()[$tagContainingParentId];
        }
        return null;
    }