get_post: print_r
WP_Post Object
(
[ID] => 2296
[post_author] => 3
[post_date] => 2018-08-09 19:42:46
[post_date_gmt] => 2018-08-09 19:42:46
[post_content] =>
[post_title] => North Marin Water District
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => north-marin-water-district
[to_ping] =>
[pinged] =>
[post_modified] => 2021-12-14 11:09:02
[post_modified_gmt] => 2021-12-14 19:09:02
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://www.nbwatershed.org/?post_type=member_agencies&p=2296
[menu_order] => 0
[post_type] => member_agencies
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
get_post: var_dump
object(WP_Post)#13447 (24) {
["ID"]=>
int(2296)
["post_author"]=>
string(1) "3"
["post_date"]=>
string(19) "2018-08-09 19:42:46"
["post_date_gmt"]=>
string(19) "2018-08-09 19:42:46"
["post_content"]=>
string(0) ""
["post_title"]=>
string(26) "North Marin Water District"
["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(26) "north-marin-water-district"
["to_ping"]=>
string(0) ""
["pinged"]=>
string(0) ""
["post_modified"]=>
string(19) "2021-12-14 11:09:02"
["post_modified_gmt"]=>
string(19) "2021-12-14 19:09:02"
["post_content_filtered"]=>
string(0) ""
["post_parent"]=>
int(0)
["guid"]=>
string(65) "http://www.nbwatershed.org/?post_type=member_agencies&p=2296"
["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] => 1639508817:5
)
[_edit_last] => Array
(
[0] => 5
)
[membership_type] => Array
(
[0] =>
)
[_membership_type] => Array
(
[0] => field_5b5fad2c529fa
)
[delegate] => Array
(
[0] => Rick Fraites
)
[_delegate] => Array
(
[0] => field_5b5fad79529fb
)
[alternate] => Array
(
[0] => Tony Williams
)
[_alternate] => Array
(
[0] => field_5b5fada0529fc
)
[url] => Array
(
[0] => http://www.nmwd.com/
)
[_url] => Array
(
[0] => field_5b6c9240bd881
)
[slide_template] => Array
(
[0] =>
)
[rs_page_bg_color] => Array
(
[0] =>
)
)
get_post_meta: var_dump
array(12) {
["_edit_lock"]=>
array(1) {
[0]=>
string(12) "1639508817: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(12) "Rick Fraites"
}
["_delegate"]=>
array(1) {
[0]=>
string(19) "field_5b5fad79529fb"
}
["alternate"]=>
array(1) {
[0]=>
string(13) "Tony Williams"
}
["_alternate"]=>
array(1) {
[0]=>
string(19) "field_5b5fada0529fc"
}
["url"]=>
array(1) {
[0]=>
string(20) "http://www.nmwd.com/"
}
["_url"]=>
array(1) {
[0]=>
string(19) "field_5b6c9240bd881"
}
["slide_template"]=>
array(1) {
[0]=>
string(0) ""
}
["rs_page_bg_color"]=>
array(1) {
[0]=>
string(0) ""
}
}