get_post: print_r
WP_Post Object
(
[ID] => 2287
[post_author] => 3
[post_date] => 2018-08-09 19:36:45
[post_date_gmt] => 2018-08-09 19:36:45
[post_content] =>
[post_title] => City of San Rafael
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => city-of-san-rafael
[to_ping] =>
[pinged] =>
[post_modified] => 2023-04-08 09:39:00
[post_modified_gmt] => 2023-04-08 16:39:00
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://www.nbwatershed.org/?post_type=member_agencies&p=2287
[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(2287)
["post_author"]=>
string(1) "3"
["post_date"]=>
string(19) "2018-08-09 19:36:45"
["post_date_gmt"]=>
string(19) "2018-08-09 19:36:45"
["post_content"]=>
string(0) ""
["post_title"]=>
string(18) "City of San Rafael"
["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(18) "city-of-san-rafael"
["to_ping"]=>
string(0) ""
["pinged"]=>
string(0) ""
["post_modified"]=>
string(19) "2023-04-08 09:39:00"
["post_modified_gmt"]=>
string(19) "2023-04-08 16:39:00"
["post_content_filtered"]=>
string(0) ""
["post_parent"]=>
int(0)
["guid"]=>
string(65) "http://www.nbwatershed.org/?post_type=member_agencies&p=2287"
["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] => 1680971833:5
)
[_edit_last] => Array
(
[0] => 5
)
[membership_type] => Array
(
[0] =>
)
[_membership_type] => Array
(
[0] => field_5b5fad2c529fa
)
[delegate] => Array
(
[0] => Cory Bytof
)
[_delegate] => Array
(
[0] => field_5b5fad79529fb
)
[alternate] => Array
(
[0] => Kate Hagemann
)
[_alternate] => Array
(
[0] => field_5b5fada0529fc
)
[url] => Array
(
[0] => http://www.cityofsanrafael.org/
)
[_url] => Array
(
[0] => field_5b6c9240bd881
)
[slide_template] => Array
(
[0] =>
)
[rs_page_bg_color] => Array
(
[0] =>
)
[_aioseo_title] => Array
(
[0] =>
)
[_aioseo_description] => Array
(
[0] =>
)
[_aioseo_keywords] => Array
(
[0] =>
)
[_aioseo_og_title] => Array
(
[0] =>
)
[_aioseo_og_description] => Array
(
[0] =>
)
[_aioseo_og_article_section] => Array
(
[0] =>
)
[_aioseo_og_article_tags] => Array
(
[0] =>
)
[_aioseo_twitter_title] => Array
(
[0] =>
)
[_aioseo_twitter_description] => Array
(
[0] =>
)
[om_disable_all_campaigns] => Array
(
[0] =>
)
)
get_post_meta: var_dump
array(22) {
["_edit_lock"]=>
array(1) {
[0]=>
string(12) "1680971833: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(10) "Cory Bytof"
}
["_delegate"]=>
array(1) {
[0]=>
string(19) "field_5b5fad79529fb"
}
["alternate"]=>
array(1) {
[0]=>
string(13) "Kate Hagemann"
}
["_alternate"]=>
array(1) {
[0]=>
string(19) "field_5b5fada0529fc"
}
["url"]=>
array(1) {
[0]=>
string(31) "http://www.cityofsanrafael.org/"
}
["_url"]=>
array(1) {
[0]=>
string(19) "field_5b6c9240bd881"
}
["slide_template"]=>
array(1) {
[0]=>
string(0) ""
}
["rs_page_bg_color"]=>
array(1) {
[0]=>
string(0) ""
}
["_aioseo_title"]=>
array(1) {
[0]=>
NULL
}
["_aioseo_description"]=>
array(1) {
[0]=>
NULL
}
["_aioseo_keywords"]=>
array(1) {
[0]=>
string(0) ""
}
["_aioseo_og_title"]=>
array(1) {
[0]=>
NULL
}
["_aioseo_og_description"]=>
array(1) {
[0]=>
NULL
}
["_aioseo_og_article_section"]=>
array(1) {
[0]=>
string(0) ""
}
["_aioseo_og_article_tags"]=>
array(1) {
[0]=>
string(0) ""
}
["_aioseo_twitter_title"]=>
array(1) {
[0]=>
NULL
}
["_aioseo_twitter_description"]=>
array(1) {
[0]=>
NULL
}
["om_disable_all_campaigns"]=>
array(1) {
[0]=>
string(0) ""
}
}