1. Temporarily add the following code snippet to your theme’s “functions.php” file.
function my_post_meta( $content ) {
$my_meta = get_post_meta( get_the_ID() );
$my_meta_data = '<pre>' . print_r( $my_meta, true ) . '</pre>';
return $content . $my_meta_data;
}
if( !is_admin() ) {
add_filter( 'the_content', 'my_post_meta' );
}
2. View one of your posts, pages or products on the front-end of your site.
The Meta Data will then be shown toward the bottom of the page and look something like the screenshot here:

In the screenshot to the right, the “Original Handle” for “Total Sales” is:
total_sales
and the “Original Handle” for “Sale Price” is:
_sale_price
