emresolve( $a,  $path,  $default = null )


Description Description


Source Source

File: includes/importer/easy-modal-v2/functions.php

	function emresolve( array $a, $path, $default = null ) {
		$current = $a;
		$p       = strtok( $path, '.' );
		while ( $p !== false ) {
			if ( ! isset( $current[ $p ] ) ) {
				return $default;
			}
			$current = $current[ $p ];
			$p       = strtok( '.' );
		}

		return $current;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.