<snippet>
	<content><![CDATA[
<?php 
	\$custom_fields = get_post_custom();
	if(!empty(\$custom_fields)) \{echo '${1:<dl class="${2:metainfo}">}';\}
	foreach ( \$custom_fields as \$field_key => \$field_values ) \{
		if(!isset(\$field_values[0])) continue;
		if(in_array(\$field_key,array(${3:'_edit_lock','_edit_last','${4:embed}'}))) continue; //exclude these meta keys
		echo '${5:<dt>}'.\$field_key . '${6:</dt><dd>}' . \$field_values[0].'${7:</dd>}';
	}
	if(!empty(\$custom_fields)) \{echo '${8:</dl>}';\}
?>
]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>wp_getallcustomfieldvalues</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<scope>text.html</scope>
	<description>Display all custom field values / WP</description>
</snippet>