Return the post meta

@param  string $metaKey Chave do metadado
@param  boolean $single Se retorna um array de valores, ou string punica
@return mixed
511552
public function meta($metaKey = '', $single = true)
	{
		$meta_values = get_post_meta($this->ID, $metaKey, $single);

		return $meta_values;
	}
889108
public function meta(string $key, string $value = null, string $description = null)
    {
        return $this->field("meta-{$key}", $value, $description);
    }
506339
public function update_meta( $meta_key = '', $values = '', $prev_values = '' ) {
		return \update_post_meta( $this->id(), $meta_key, $values, $prev_values );
	}
544570
public function getMeta($key)
    {
    	$taxonomymeta = $this->taxonomymeta;
    	$taxonomymeta = $taxonomymeta->keyBy('meta_key');
		if(array_has($taxonomymeta, $key . '.meta_value')){
			$returnValue = $taxonomymeta[$key]['meta_value'];
			return $returnValue;
		}
    }
796032
public function getMetadata($key = null)
    {
        if (is_null($this->metadataCache))
        {
            $this->metadataCache = json_decode($this->metadata, true);
        }

        if (is_null($key))
        {
            return $this->metadataCache;
        }

        if (isset($this->metadataCache[$key]))
        {
            return $this->metadataCache[$key];
        }

        return null;
    }
1053100
public function getMetadata(string $key = null)
    {
        if ( ! is_resource($this->stream) ) {
            return is_null($key) ? [] : null;
        }

        if ( is_null($key) ) {
            return $this->customMetadata + stream_get_meta_data($this->stream);
        }

        if ( ! empty($this->customMetadata) ) {
            return $this->customMetadata;
        }

        $meta = stream_get_meta_data($this->stream);

        return ! is_null($key) && array_key_exists($key, $meta) ? $meta[$key] : null;
    }
777909
public function setMeta($metaEntities)
    {
        $currentMeta = $this->entity->getMeta();
        foreach ($metaEntities as $singleMeta) {
            $metaEntity = $this->getSingleMetaById($currentMeta, $singleMeta->getId());
            if (!$metaEntity) {
                $metaEntity = $singleMeta;
                $this->entity->addMeta($metaEntity);
            }

            $metaEntity->setCategory($this->entity);
            $metaEntity->setKey($singleMeta->getKey());
            $metaEntity->setValue($singleMeta->getValue());
            $metaEntity->setLocale($singleMeta->getLocale());
        }

        return $this;
    }
349652
function getMeta($metaKey = null)
    {
        if ($metaKey !== null)
            return (isset($this->meta[$metaKey])) ? $this->meta[$metaKey] : null;

        return $this->meta;
    }
919289
public function getMetadata($key = null)
    {
        $meta = stream_get_meta_data($this->buffer);

        if (!isset($key)) {
            return $meta;
        }

        if (isset($meta[$key])) {
            return $meta[$key];
        }
    }
773407
public function getMetaData($key)
    {
        return isset($this->meta[$key]) ? $this->meta[$key] : null;
    }
829523
public function getMeta($key, $default = null)
    {
        $meta = $this->meta()->where('key', $key)->get();

        if ($meta->count() <= 1) {
            return $meta->count() == 1 ? $meta->first() : $default;
        }

        return $meta;
    }
364946
public function getPkValue(Meta $meta = null)
    {
        if (null === $meta) {
            $meta = $this->getMeta();
        }

        return $this->{$meta->primaryKey->getAttrName()};
    }
61102
public function getMetaValue($metaKey)
    {
        $metas = $this->getMeta();
        foreach ($metas as $meta)
        {
            if ($meta->getMetaKey() == $metaKey)
            {
                return ($meta->getMetaValue());
            }
        }
        return '';
    }
752452
public static function get($key, $default = null)
    {
        if (!static::has($key)) {
            static::$with_meta = false;

            return $default;
        }

        $cache = unserialize(file_get_contents(static::makeHashFilename($key)));

        if (!static::$with_meta) {
            unset($cache['__bow_meta']);

            $cache = $cache['content'];
        }

        return $cache;
    }
528624
public function getSourceMeta($property)
    {
        $value = get_post_meta($this->invoiceSource->getId(), $property, true);
        // get_post_meta() can return false or ''.
        if (empty($value)) {
            // Not found: indicate so by returning null.
            $value = null;
        }
        return $value;
    }
16079
public function get_service_metas( $meta_name = false )
    {
        $meta_value = false;
        if( $meta_name &&  array_key_exists( $meta_name, $this->_service_metas ) )
        {
            $meta_value = $this->_service_metas[$meta_name];
        }

        return ( $meta_value ) ? $meta_value : $this->_service_metas;
    }
1137818
public function get( $key = null, $single = true ) {
		if ( 'mf2' === $key ) {
			return $this->mf2;
		}
		if ( null === $key ) {
			$vars = get_object_vars( $this );
			unset( $vars['mf2'] );
			$vars = array_filter( $vars );
			foreach ( $vars as $prop => $value ) {
				$vars[ $prop ] = array( $value );
			}
			$properties = array_merge( $vars, $this->mf2 );
			$properties = array_filter( $properties );
			if ( isset( $properties['type'] ) ) {
				$type = $properties['type'];
				unset( $properties['type'] );
			} else {
				$type = array( 'h-entry' );
			}
			$return = array(
				'type'       => $type,
				'properties' => $properties,
			);
			if ( $single ) {
				$return = mf2_to_jf2( $return );
			}
			return $return;
		}
		$properties = array_keys( get_object_vars( $this ) );
		unset( $properties['mf2'] );
		if ( in_array( $key, $properties, true ) ) {
			$return = $this->$key;
		} else {
			if ( ! isset( $this->mf2[ $key ] ) ) {
				return false;
			}
			$return = $this->mf2[ $key ];
		}
		if ( empty( $return ) ) {
			return false;
		}
		if ( is_array( $return ) ) {
			return $single ? $this->single_array( $return ) : $return;
		}
		if ( is_string( $return ) ) {
			return $single ? $return : array( $return );
		}
	}