CartItemSchema::format_item_data_element( array $item_data_element )

Remove HTML tags from cart item data and set the hidden property to __experimental_woocommerce_blocks_hidden.


Description Description


Parameters Parameters

$item_data_element

(Required) Individual element of a cart item data.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/CartItemSchema.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.