VersionPress\ChangeInfos\EntityChangeInfo::getParentId PHP Méthode

getParentId() public méthode

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