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;
    }