includes/class-parse-this-mf2.php
public static function get_prop_array( array $mf, $properties, $args = null ) {
		if ( ! self::is_microformat( $mf ) ) {
			return array();
		}

		$data = array();
		foreach ( $properties as $p ) {
			if ( array_key_exists( $p, $mf['properties'] ) ) {
				foreach ( $mf['properties'][ $p ] as $v ) {
					if ( self::is_microformat( $v ) ) {
						$data[ $p ] = self::parse_item( $v, $mf, $args );
					} else {
						if ( isset( $data[ $p ] ) ) {
							$data[ $p ][] = $v;
						} else {
							$data[ $p ] = array( $v );
						}
					}
				}
			}
		}
		return $data;
	}
public static function get_prop_array( array $mf, $properties, $args = null ) {
		if ( ! self::is_microformat( $mf ) ) {
			return array();
		}

		$data = array();
		foreach ( $properties as $p ) {
			if ( array_key_exists( $p, $mf['properties'] ) ) {
				foreach ( $mf['properties'][ $p ] as $v ) {
					if ( self::is_microformat( $v ) ) {
						$data[ $p ] = self::parse_item( $v, $mf, $args );
					} else {
						if ( isset( $data[ $p ] ) ) {
							$data[ $p ][] = $v;
						} else {
							$data[ $p ] = array( $v );
						}
					}
				}
			}
		}
		return $data;
	}
public static function get_prop_array ( array $ mf , $ properties , $ args = null ) { if ( ! self :: is_microformat ( $ mf ) ) { return array ( ) ; } $ data = array ( ) ; foreach ( $ properties as $ p ) { if ( array_key_exists ( $ p , $ mf [ 'properties' ] ) ) { foreach ( $ mf [ 'properties' ] [ $ p ] as $ v ) { if ( self :: is_microformat ( $ v ) ) { $ data [ $ p ] = self :: parse_item ( $ v , $ mf , $ args ) ; } else { if ( isset ( $ data [ $ p ] ) ) { $ data [ $ p ] [ ] = $ v ; } else { $ data [ $ p ] = array ( $ v ) ; } } } } } return $ data ; }
Return an array of properties, and may contain plaintext content

@param array       $mf
@param array       $properties
@return null|array
Return an array of properties and may contain plaintext content