get_post: print_r
WP_Post Object
(
[ID] => 3635
[post_author] => 5
[post_date] => 2018-11-27 12:01:11
[post_date_gmt] => 2018-11-27 20:01:11
[post_content] =>
[post_title] => County of Napa
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => county-of-napa
[to_ping] =>
[pinged] =>
[post_modified] => 2019-01-10 08:19:05
[post_modified_gmt] => 2019-01-10 16:19:05
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://www.nbwatershed.org/?post_type=member_agencies&p=3635
[menu_order] => 0
[post_type] => member_agencies
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
get_post: var_dump
object(WP_Post)#13640 (24) {
["ID"]=>
int(3635)
["post_author"]=>
string(1) "5"
["post_date"]=>
string(19) "2018-11-27 12:01:11"
["post_date_gmt"]=>
string(19) "2018-11-27 20:01:11"
["post_content"]=>
string(0) ""
["post_title"]=>
string(14) "County of Napa"
["post_excerpt"]=>
string(0) ""
["post_status"]=>
string(7) "publish"
["comment_status"]=>
string(6) "closed"
["ping_status"]=>
string(6) "closed"
["post_password"]=>
string(0) ""
["post_name"]=>
string(14) "county-of-napa"
["to_ping"]=>
string(0) ""
["pinged"]=>
string(0) ""
["post_modified"]=>
string(19) "2019-01-10 08:19:05"
["post_modified_gmt"]=>
string(19) "2019-01-10 16:19:05"
["post_content_filtered"]=>
string(0) ""
["post_parent"]=>
int(0)
["guid"]=>
string(66) "https://www.nbwatershed.org/?post_type=member_agencies&p=3635"
["menu_order"]=>
int(0)
["post_type"]=>
string(15) "member_agencies"
["post_mime_type"]=>
string(0) ""
["comment_count"]=>
string(1) "0"
["filter"]=>
string(3) "raw"
}
get_post_meta: print_r
Array
(
[_edit_lock] => Array
(
[0] => 1639507730:5
)
[_edit_last] => Array
(
[0] => 5
)
[membership_type] => Array
(
[0] =>
)
[_membership_type] => Array
(
[0] => field_5b5fad2c529fa
)
[delegate] => Array
(
[0] => Alfredo Pedroza
)
[_delegate] => Array
(
[0] => field_5b5fad79529fb
)
[alternate] => Array
(
[0] => Belia Ramos
)
[_alternate] => Array
(
[0] => field_5b5fada0529fc
)
[url] => Array
(
[0] =>
)
[_url] => Array
(
[0] => field_5b6c9240bd881
)
[slide_template] => Array
(
[0] => default
)
)
get_post_meta: var_dump
array(11) {
["_edit_lock"]=>
array(1) {
[0]=>
string(12) "1639507730:5"
}
["_edit_last"]=>
array(1) {
[0]=>
string(1) "5"
}
["membership_type"]=>
array(1) {
[0]=>
string(0) ""
}
["_membership_type"]=>
array(1) {
[0]=>
string(19) "field_5b5fad2c529fa"
}
["delegate"]=>
array(1) {
[0]=>
string(16) "Alfredo Pedroza "
}
["_delegate"]=>
array(1) {
[0]=>
string(19) "field_5b5fad79529fb"
}
["alternate"]=>
array(1) {
[0]=>
string(11) "Belia Ramos"
}
["_alternate"]=>
array(1) {
[0]=>
string(19) "field_5b5fada0529fc"
}
["url"]=>
array(1) {
[0]=>
string(0) ""
}
["_url"]=>
array(1) {
[0]=>
string(19) "field_5b6c9240bd881"
}
["slide_template"]=>
array(1) {
[0]=>
string(7) "default"
}
}