The following code should return the value for key 'price' for post 48:
<?php
$key_1_values = get_post_meta( 48, 'price');
echo $key_1_values;
?>
Instead I get "Array". Adding parameter 'true' returns nothing.
Please help.
The following code should return the value for key 'price' for post 48:
<?php
$key_1_values = get_post_meta( 48, 'price');
echo $key_1_values;
?>
Instead I get "Array". Adding parameter 'true' returns nothing.
Please help.