get_post: print_r
WP_Post Object
(
[ID] => 2283
[post_author] => 3
[post_date] => 2018-08-09 19:29:49
[post_date_gmt] => 2018-08-09 19:29:49
[post_content] =>
[post_title] => Central Marin Sanitation Agency
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => central-marin-sanitation-agency
[to_ping] =>
[pinged] =>
[post_modified] => 2018-09-18 09:47:14
[post_modified_gmt] => 2018-09-18 16:47:14
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://www.nbwatershed.org/?post_type=member_agencies&p=2283
[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)[7560]
public 'ID' => int 2283
public 'post_author' => string '3' (length=1)
public 'post_date' => string '2018-08-09 19:29:49' (length=19)
public 'post_date_gmt' => string '2018-08-09 19:29:49' (length=19)
public 'post_content' => string '' (length=0)
public 'post_title' => string 'Central Marin Sanitation Agency' (length=31)
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 'central-marin-sanitation-agency' (length=31)
public 'to_ping' => string '' (length=0)
public 'pinged' => string '' (length=0)
public 'post_modified' => string '2018-09-18 09:47:14' (length=19)
public 'post_modified_gmt' => string '2018-09-18 16:47:14' (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=2283' (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] => 1537289121:3
)
[_edit_last] => Array
(
[0] => 3
)
[membership_type] => Array
(
[0] =>
)
[_membership_type] => Array
(
[0] => field_5b5fad2c529fa
)
[delegate] => Array
(
[0] => Michael Boorstein
)
[_delegate] => Array
(
[0] => field_5b5fad79529fb
)
[alternate] => Array
(
[0] => Jason Dow
)
[_alternate] => Array
(
[0] => field_5b5fada0529fc
)
[url] => Array
(
[0] => http://www.cmsa.us/
)
[_url] => Array
(
[0] => field_5b6c9240bd881
)
[slide_template] => Array
(
[0] => default
)
)
get_post_meta: var_dump
/var/www/www.nbwatershed.org/wp-content/themes/infinite-child/single-member_agencies.php:35:
array (size=11)
'_edit_lock' =>
array (size=1)
0 => string '1537289121:3' (length=12)
'_edit_last' =>
array (size=1)
0 => string '3' (length=1)
'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 'Michael Boorstein' (length=17)
'_delegate' =>
array (size=1)
0 => string 'field_5b5fad79529fb' (length=19)
'alternate' =>
array (size=1)
0 => string 'Jason Dow' (length=9)
'_alternate' =>
array (size=1)
0 => string 'field_5b5fada0529fc' (length=19)
'url' =>
array (size=1)
0 => string 'http://www.cmsa.us/' (length=19)
'_url' =>
array (size=1)
0 => string 'field_5b6c9240bd881' (length=19)
'slide_template' =>
array (size=1)
0 => string 'default' (length=7)