This shortcode will output raw array output of the ALL Custom Fields fro the Current Post.
It is very usefull when working with some plugins and woocommerce to see what fields are plugins are adding …etc
[snn_print_custom_fields_raw]
// [snn_print_custom_fields_raw] // function print_custom_fields_raw() { $post_id = get_the_ID(); $custom_fields = get_post_meta($post_id); return '<pre>' . print_r($custom_fields, true) . '</pre>'; } add_shortcode('snn_print_custom_fields_raw', 'print_custom_fields_raw');