VersionPress\Storages\MetaEntityStorage::createJoinedKey PHP 메소드

createJoinedKey() 보호된 메소드

It's used in a parent entity file as key representing the entity.
protected createJoinedKey ( $key, $vpId ) : string
$key
$vpId
리턴 string
    protected function createJoinedKey($key, $vpId)
    {
        return sprintf('%s#%s', $key, $vpId);
    }

Usage Example

예제 #1
0
 protected function createJoinedKey($key, $vpId)
 {
     $key = $this->maybeReplacePrefixWithPlaceholder($key);
     return parent::createJoinedKey($key, $vpId);
 }