wpcart

wpcart order content here..

current_user_can edit_posts:

current_user has_cap edit_posts:

show customer orders here...

WP_User Object
(
    [data] => stdClass Object
        (
            [ID] => 0
        )

    [ID] => 0
    [caps] => Array
        (
        )

    [cap_key] => wp_capabilities
    [roles] => Array
        (
        )

    [allcaps] => Array
        (
        )

    [filter] => 
    [site_id:WP_User:private] => 1
)