VersionPress\ChangeInfos\EntityChangeInfo::getParentId PHP 메소드

getParentId() 공개 메소드

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