I want to show the values of a class but I do not know how to access it.
The result of print_r($this->order);
shows
WC_Order Object (
[status_transition:protected] =>
[data:protected] =>
Array (
[shipping] => Array ( [first_name] => Alex [last_name] => Silva )
)
I would like to return only: Alex e Silva.