¿Cómo mostrar los datos del formulario de gravedad en la tabla de pedidos de mi cuenta de woocommerce?

Publicado: 2022-11-05

Creé un formulario de gravedad y lo integré en woocommerce, necesito mostrar los datos que ingresé en el formulario de gravedad en la tabla de pedidos en woocommerce my-account/orders/page.

https://preview.redd.it/m21nuvpfoyx91.png?width=881&format=png&auto=webp&s=f21e00a595f17f9e7647bb51923ac3fc2220da6d

Puede ver en la línea 14 que estaba tratando de llamarlo a través de eco, pero no puedo encontrar el código adecuado. Busco get_meta, etc. No estoy familiarizado con esto.

Aquí están los datos de la matriz $order.

[cache_group:protected] => artículos de pedido
[meta_data:protected] => Matriz
(
[0] => Objeto WC_Meta_Data
(
[datos_actuales:protegidos] => Matriz
(
[id] => 5001
[clave] => _gravity_forms_history
[valor] => Matriz
(
[_gravity_form_cart_item_key] => c4e6d20004a3c6cd9602b4caf96ad709
[_gravity_form_linked_entry_id] => 2966
[_gravity_form_lead] => Matriz
(
[id_formulario] => 12
[source_url] => https://passportdepot.kubemax.com/product/passport-service/?country_1=United+States&state_1=Alabama&passport_service_1=New+US+Passport&passport-product=7-10++++days
[ip] => 180.190.148.57
[1] => 2022-11-19
[3] =>
[6] => Enzo
[7] => Ventas
[8] => [correo electrónico protegido]
[9] => 12321312321
[10] => 1985-11-16
[11] => Estados Unidos
[155] => 7-10 días|999
[12] => Alabama
[13] => Nuevo pasaporte estadounidense
[74.1] =>
[73.1] =>
[73.2] =>
[73.3] =>
[58.1] =>
[156] =>
[170] =>
[171] =>
[48.2] =>
[48.3] =>
[48.4] =>
[48.6] =>
[48.8] =>
[49] =>
[50] =>
[51] =>
[53] =>
[55] =>
[56] =>
[160.1] =>
[162.1] =>
[162.2] =>
[162.3] =>
[59.1] =>
[153] =>
[174] =>
[175] =>
[60.2] =>
[60.3] =>
[60.4] =>
[60.6] =>
[60.8] =>
[61] =>
[62] =>
[63] =>
[64] =>
[65] =>
[66] =>
[165.1] =>
[167.1] =>
[167.2] =>
[167.3] =>
[103] => Primera opción
[104] =>
[105] =>
[106] =>
[107] =>
[24] => FedEx Priority Overnight $69|69
[179] => FedEx Priority Overnight $69|69
[31] => 1137
)