get_post: print_r
WP_Post Object
(
[ID] => 2277
[post_author] => 3
[post_date] => 2018-07-31 19:17:29
[post_date_gmt] => 2018-07-31 19:17:29
[post_content] =>
[post_title] => Bel Marin Keys Community Services District
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => bel-marin-keys-community-services-district
[to_ping] =>
[pinged] =>
[post_modified] => 2018-08-09 19:28:04
[post_modified_gmt] => 2018-08-09 19:28:04
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://www.nbwatershed.org/?post_type=member_agencies&p=2277
[menu_order] => 0
[post_type] => member_agencies
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
get_post: var_dump
/var/www/www.nbwatershed.org/wp-content/themes/infinite-child/single-member_agencies.php:25:
object(WP_Post)[7559]
public 'ID' => int 2277
public 'post_author' => string '3' (length=1)
public 'post_date' => string '2018-07-31 19:17:29' (length=19)
public 'post_date_gmt' => string '2018-07-31 19:17:29' (length=19)
public 'post_content' => string '' (length=0)
public 'post_title' => string 'Bel Marin Keys Community Services District' (length=42)
public 'post_excerpt' => string '' (length=0)
public 'post_status' => string 'publish' (length=7)
public 'comment_status' => string 'closed' (length=6)
public 'ping_status' => string 'closed' (length=6)
public 'post_password' => string '' (length=0)
public 'post_name' => string 'bel-marin-keys-community-services-district' (length=42)
public 'to_ping' => string '' (length=0)
public 'pinged' => string '' (length=0)
public 'post_modified' => string '2018-08-09 19:28:04' (length=19)
public 'post_modified_gmt' => string '2018-08-09 19:28:04' (length=19)
public 'post_content_filtered' => string '' (length=0)
public 'post_parent' => int 0
public 'guid' => string 'http://www.nbwatershed.org/?post_type=member_agencies&p=2277' (length=65)
public 'menu_order' => int 0
public 'post_type' => string 'member_agencies' (length=15)
public 'post_mime_type' => string '' (length=0)
public 'comment_count' => string '0' (length=1)
public 'filter' => string 'raw' (length=3)
get_post_meta: print_r
Array
(
[_edit_lock] => Array
(
[0] => 1533847985:3
)
[_edit_last] => Array
(
[0] => 3
)
[_thumbnail_id] => Array
(
[0] => 2278
)
[agency_title] => Array
(
[0] => Bel Marin Keys Community Services District
)
[_agency_title] => Array
(
[0] => field_5b5facd4529f9
)
[membership_type] => Array
(
[0] =>
)
[_membership_type] => Array
(
[0] => field_5b5fad2c529fa
)
[delegate] => Array
(
[0] => Adrian Cormier
)
[_delegate] => Array
(
[0] => field_5b5fad79529fb
)
[alternate] => Array
(
[0] => Carey Parent
)
[_alternate] => Array
(
[0] => field_5b5fada0529fc
)
[slide_template] => Array
(
[0] => default
)
[_wp_old_slug] => Array
(
[0] => auto-draft
)
[Agency URL] => Array
(
[0] => http://www.bmkcsd.us/
)
[_Agency URL] => Array
(
[0] => field_5b6c9240bd881
)
[agency_url] => Array
(
[0] => http://www.bmkcsd.us/
)
[_agency_url] => Array
(
[0] => field_5b6c9240bd881
)
[url] => Array
(
[0] => http://www.bmkcsd.us/
)
[_url] => Array
(
[0] => field_5b6c9240bd881
)
)
get_post_meta: var_dump
/var/www/www.nbwatershed.org/wp-content/themes/infinite-child/single-member_agencies.php:35:
array (size=19)
'_edit_lock' =>
array (size=1)
0 => string '1533847985:3' (length=12)
'_edit_last' =>
array (size=1)
0 => string '3' (length=1)
'_thumbnail_id' =>
array (size=1)
0 => string '2278' (length=4)
'agency_title' =>
array (size=1)
0 => string 'Bel Marin Keys Community Services District' (length=42)
'_agency_title' =>
array (size=1)
0 => string 'field_5b5facd4529f9' (length=19)
'membership_type' =>
array (size=1)
0 => string '' (length=0)
'_membership_type' =>
array (size=1)
0 => string 'field_5b5fad2c529fa' (length=19)
'delegate' =>
array (size=1)
0 => string 'Adrian Cormier' (length=14)
'_delegate' =>
array (size=1)
0 => string 'field_5b5fad79529fb' (length=19)
'alternate' =>
array (size=1)
0 => string 'Carey Parent' (length=12)
'_alternate' =>
array (size=1)
0 => string 'field_5b5fada0529fc' (length=19)
'slide_template' =>
array (size=1)
0 => string 'default' (length=7)
'_wp_old_slug' =>
array (size=1)
0 => string 'auto-draft' (length=10)
'Agency URL' =>
array (size=1)
0 => string 'http://www.bmkcsd.us/' (length=21)
'_Agency URL' =>
array (size=1)
0 => string 'field_5b6c9240bd881' (length=19)
'agency_url' =>
array (size=1)
0 => string 'http://www.bmkcsd.us/' (length=21)
'_agency_url' =>
array (size=1)
0 => string 'field_5b6c9240bd881' (length=19)
'url' =>
array (size=1)
0 => string 'http://www.bmkcsd.us/' (length=21)
'_url' =>
array (size=1)
0 => string 'field_5b6c9240bd881' (length=19)