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.


Top ↑

Return Return

(string) Rendered HTML attributes.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php




Top ↑

User Contributed Notes User Contributed Notes

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