AbstractBlock::get_html_data_attributes( array $attributes )
Converts block attributes to HTML data attributes.
Description Description
Parameters Parameters
- $attributes
-
(Required) Key value pairs of attributes.
Return Return
(string) Rendered HTML attributes.
Source Source
File: packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php