get_post_meta($post->ID);
以下のような結果を返すを使用しています。
wpcf-business_listing_title、wpcf-street_address、wpcf-city などのフィールドの実際の値を画面に出力する必要があります。
どうすれば正確にそれを行うことができますか?ありがとうございました!
array(25) {
["wpcf-business_listing_title"]=> array(1) {
[0]=> string(17) "Davis Car Dealer"
}
["wpcf-street_address"]=> array(1) {
[0]=> string(21) "720 Olympad Drive Ste X"
}
["wpcf-city"]=> array(1) {
[0]=> string(5) "Portland"
}
["wpcf-state_abbreviation"]=> array(1) {
[0]=> string(2) "ME"
}
["wpcf-full_state_name"]=> array(1) {
[0]=> string(10) "Maine"
}
["wpcf-zip_code"]=> array(1) {
[0]=> string(5) "95616"
}
["wpcf-county"]=> array(1) {
[0]=> string(4) "Yolo"
}
["wpcf-phone_number"]=> array(1) {
[0]=> string(12) "555-755-3666"
}
}